Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL
APACHE-2.0 License
Bot releases are hidden (Show)
Published by zhuxiujia about 3 years ago
v2.0.27
where
element not insert keyword problemPublished by zhuxiujia about 3 years ago
v2.0.26
Published by zhuxiujia about 3 years ago
v2.0.25
async_std
to v1.10.0dml: String
to Control logic to logic plug-in policies(enable/disable)crud.rs
remove all about non fetch_*
method DeserializeOwned
binding(include update*,remove*,save*),so you can use reference in parameter and don't need clone() data, keep Original object lifetime alivelet r = rb.save_batch(&vec![&activity, &activity2], &[]).await;
&mut Table
Published by zhuxiujia about 3 years ago
v2.0.24
Published by zhuxiujia about 3 years ago
v2.0.23
Published by zhuxiujia about 3 years ago
v2.0.22
Published by zhuxiujia about 3 years ago
v2.0.21
Published by zhuxiujia about 3 years ago
v2.0.20
Published by zhuxiujia over 3 years ago
v2.0.18
BEGIN COMMIT ROLLBACK
replace sqlx's methodPublished by zhuxiujia over 3 years ago
v2.0.17
Published by zhuxiujia over 3 years ago
v2.0.16
save*
method Allows the default database column not to be inserted fix and support #110 #114 let r = rb.save(&activity,&[]).await;
let r = rb.save(&activity,&[Skip::Value(serde_json::Value::Null)]).await;
let r = rb.save(&activity,&[Skip::value(2) ]).await;
let r = rb.save(&activity,&[Skip::Column("delete_flag")]).await;
pub struct MyColumns{}
impl TableColumnProvider for MyColumns{
fn table_name() -> String{"biz_activity".to_string()}
fn table_columns() -> String{"id".to_string()}
}
let r = rb.fetch_list_by_wrapper::<DynTableColumn<BizActivity,MyColumns>>(&w).await.unwrap();
//
Published by zhuxiujia over 3 years ago
v2.0.13
Published by zhuxiujia over 3 years ago
v2.0.12
Published by zhuxiujia over 3 years ago
v2.0.11
Published by zhuxiujia over 3 years ago
v2.0.10
rb.acquire_begin().await?.defer_async(|tx| async {
tx.rollback().await;
});
Published by zhuxiujia over 3 years ago
v2.0.9
<bind>
elementPublished by zhuxiujia over 3 years ago
v2.0.8
Published by zhuxiujia over 3 years ago
v2.0.7
Published by zhuxiujia over 3 years ago
v2.0.6
<include>
have id tag elementsexample_include.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "https://github.com/rbatis/rbatis_sql/raw/main/mybatis-3-mapper.dtd">
<mapper>
<sql id="page_sql"> select * from include </sql>
</mapper>
example.html
<sql id="select_self">(id,name,age,tag)</sql>
<select id="test_include">
<include refid="select_self"></include>
<include refid="page_sql?file=example/example_include.html"></include>
</select>
null <= arg
,null >= arg
....Published by zhuxiujia over 3 years ago
v2.0.5