This commit is contained in:
6 files changed
+454
-177
No files matched your search
@@ -70,4 +70,7 @@ pub trait Crud<Id> {
|
||||
pool: &sqlx::PgPool,
|
||||
id: &Id,
|
||||
) -> impl std::future::Future<Output = sqlx::Result<u64>> + Send;
|
||||
|
||||
/// Returns the identifier of the entity.
|
||||
fn get_id(&self) -> &Id;
|
||||
}
|
||||
Reference in new issue
Block a user