From b09aed3ff1157c039791a940d73f4fcfe888372b Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 12 Jul 2021 11:45:20 +0800 Subject: [PATCH] Add more doc --- src/entity/active_model.rs | 1 + src/entity/column.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/entity/active_model.rs b/src/entity/active_model.rs index 5ab7be19..8eb26504 100644 --- a/src/entity/active_model.rs +++ b/src/entity/active_model.rs @@ -243,6 +243,7 @@ where exec.await } +/// Delete an active model by its primary key pub async fn delete_active_model( mut am: A, db: &DatabaseConnection, diff --git a/src/entity/column.rs b/src/entity/column.rs index de98c0d7..d6580e8f 100644 --- a/src/entity/column.rs +++ b/src/entity/column.rs @@ -66,6 +66,7 @@ macro_rules! bind_vec_func { } // 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 { type EntityName: EntityName;