diff options
| author | WriterV2 <primary-v2@protonmail.com> | 2024-11-03 18:50:29 +0100 |
|---|---|---|
| committer | WriterV2 <primary-v2@protonmail.com> | 2024-11-03 18:50:29 +0100 |
| commit | fa7f650562337c7f3a4fb7446e56575e26380494 (patch) | |
| tree | 082643ee68f3773e6b9bfd2ed42e75d1bee79d44 /src/db/mod.rs | |
| parent | eb326116f4abc6b12ec81d06586d7cf08755538c (diff) | |
Feat: Finalize ability to get all products with details
- Remove dummy product
- Add ProductMarker method to get product id + implement
- Move method to get all products out of PageBuilder into its own
function in Product module
- Finalize getting all products with details
- Add empty implementation for Story for testing purposes (TODO: add
card details)
Diffstat (limited to 'src/db/mod.rs')
| -rw-r--r-- | src/db/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/mod.rs b/src/db/mod.rs index 1d64ed8..0b310c6 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -14,7 +14,7 @@ pub mod tooltag; #[async_trait] pub trait ProductDatabaseHandler { - async fn get_all(pool: SqlitePool) -> Result<Vec<Self>, AppError> + async fn get_all(pool: &SqlitePool) -> Result<Vec<Self>, AppError> where Self: Sized; |
