rbatis_sql

Crates.iorbatis_sql
lib.rsrbatis_sql
version4.0.2
sourcesrc
created_at2021-06-13 05:00:49.808058
updated_at2022-08-09 03:19:21.3345
descriptionThe Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL
homepagehttps://rbatis.github.io/rbatis.io/#/en/
repositoryhttps://github.com/rbatis/rbatis
max_upload_size
id409487
size120,726
zxj (zhuxiujia)

documentation

https://rbatis.github.io/rbatis.io/#/en/

README

rbatis html query lang

py->sql: select * from biz_activity where delete_flag = 0 and name=$1 
py->args: ["asdf"]
sql: select * from table where id = 1 id != $1
        id in $2
        id in $3
        id in $4
        id not in $5a = $6name like $7
        or
        name not like $8
        create_time between $9 and $10
        group by$11$12$13order by$14$15
args: [1,[1,2,3],[1,2,3],[1,2,3],[1,2,3],1,"asdf","asdf","2020-23-23","2020-23-23",1,2,3,"id","name"]
use Time: 1.6488273s ,each:1648 ns/op
use QPS: 606485 QPS/s
Commit count: 5939

cargo fmt