This commit is contained in:
Billy Chan 2021-11-05 18:25:20 +08:00
parent c39a3b8cb2
commit 52ff9430e1
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -51,7 +51,7 @@ where
Inserter::<A>::new(self.primary_key, query).exec(db)
}
/// Execute an insert operation and return inserted row
/// Execute an insert operation and return the inserted model
pub fn exec_with_returning<'a, C>(
self,
db: &'a C,
@ -88,7 +88,7 @@ where
exec_insert(self.primary_key, builder.build(&self.query), db)
}
/// Execute an insert operation and return inserted row
/// Execute an insert operation and return the inserted model
pub fn exec_with_returning<'a, C>(
self,
db: &'a C,