Skip to content

Commit 46da264

Browse files
committed
Add doc comment for delete method
1 parent 549f15b commit 46da264

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

turbosql/src/lib_inner.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pub trait Turbosql {
3434
/// Updates this existing row in the database, based on `rowid`, which must be `Some`. All fields are overwritten in the database. On success, returns the number of rows updated, which should be 1.
3535
fn update(&self) -> Result<usize, Error>;
3636
fn update_batch<T: AsRef<Self>>(rows: &[T]) -> Result<(), Error>;
37+
/// Deletes this existing row in the database, based on `rowid`, which must be `Some`. On success, returns the number of rows deleted, which should be 1.
3738
fn delete(&self) -> Result<usize, Error>;
3839
}
3940

0 commit comments

Comments
 (0)