#database #orm #mysql #postgres #sqlite

rbdc

The Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL

6 releases (2 stable)

new 4.3.1 Mar 21, 2023
4.2.4 Mar 20, 2023
0.1.23 Feb 19, 2023
0.1.22 Sep 15, 2022
0.1.20 Aug 27, 2022

#813 in Database interfaces

Download history 116/week @ 2022-12-03 134/week @ 2022-12-10 182/week @ 2022-12-17 127/week @ 2022-12-24 99/week @ 2022-12-31 100/week @ 2023-01-07 69/week @ 2023-01-14 158/week @ 2023-01-21 171/week @ 2023-01-28 205/week @ 2023-02-04 185/week @ 2023-02-11 426/week @ 2023-02-18 297/week @ 2023-02-25 238/week @ 2023-03-04 422/week @ 2023-03-11 545/week @ 2023-03-18

1,541 downloads per month
Used in 17 crates (9 directly)

Apache-2.0

140KB
4K SLoC

RBDC driver abstract

  • an database driver abstract for rbatis
  • supported database drivers see rbatis

how to define my driver to support rbdc driver?

should impl trait and load driver

  • impl trait Driver
  • impl trait Connection
  • impl trait Statement
  • impl trait ResultSet
  • impl trait MetaData
  • impl trait ConnectOptions
  • impl trait Placeholder

Dependencies

~11–20MB
~430K SLoC