rbdc 4.2.2

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

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

rbs Serialize rbdc::types

type value
Date "2022-12-12D"
DateTime "2022-12-12 12:12:12DT"
Decimal "12.12222DEC"
Json {"k":"v"}
Json Array [{"k":"v"}]
Time "12:12:12T"
Timestamp "202203020302TS"
Uuid "1234-1234-1234-1234-1222UUID"

other crates Serialize rbdc::types

type value
Date "2022-12-12"
DateTime "2022-12-12 12:12:12"
Decimal "12.12222"
Json {"k":"v"}
Json Array [{"k":"v"}]
Time "12:12:12"
Timestamp "202203020302"
Uuid "1234-1234-1234-1234-1222"