Add more doc

This commit is contained in:
Billy Chan 2021-07-12 11:45:20 +08:00
parent ce32967a95
commit b09aed3ff1
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7
2 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,7 @@ where
exec.await exec.await
} }
/// Delete an active model by its primary key
pub async fn delete_active_model<A, E>( pub async fn delete_active_model<A, E>(
mut am: A, mut am: A,
db: &DatabaseConnection, db: &DatabaseConnection,

View File

@ -66,6 +66,7 @@ macro_rules! bind_vec_func {
} }
// LINT: when the operand value does not match column type // LINT: when the operand value does not match column type
/// Wrapper of the identically named method in [`sea_query::Expr`]
pub trait ColumnTrait: IdenStatic + Iterable { pub trait ColumnTrait: IdenStatic + Iterable {
type EntityName: EntityName; type EntityName: EntityName;