rbdc-pool-mobc

Crates.iorbdc-pool-mobc
lib.rsrbdc-pool-mobc
version4.5.7
sourcesrc
created_at2023-11-10 12:23:34.191831
updated_at2023-12-25 15:01:10.473941
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
id1031027
size8,231
zxj (zhuxiujia)

documentation

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

README

init pool by DBPoolOptions and Pool

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

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

cargo fmt