rbdc-pool-deadpool

Crates.iorbdc-pool-deadpool
lib.rsrbdc-pool-deadpool
version4.5.7
sourcesrc
created_at2023-11-10 13:38:14.011667
updated_at2023-12-25 15:01:10.236353
descriptionThe Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL
homepagehttps://rbatis.github.io/rbatis.io
repositoryhttps://github.com/rbatis/rbatis
max_upload_size
id1031156
size7,905
zxj (zhuxiujia)

documentation

https://rbatis.github.io/rbatis.io

README

init pool by DBPoolOptions and Pool

  • for example:
 use rbatis::RBatis;
 use rbdc_pool_deadpool::DeadPool;
 use rbdc_sqlite::{SqliteConnectOptions, SqliteDriver};
 let rb=RBatis::new();

 let opts=SqliteConnectOptions::new();
 let _ = rb.init_option::<SqliteDriver, SqliteConnectOptions, DeadPool>(SqliteDriver{},opts);
Commit count: 5858

cargo fmt