begin implementing repository for accessing database
This commit is contained in:
1 parent
3252d45409
commit
094ec0aa09
3 files changed
+13
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,11 @@
|
||||
use sqlx::sqlite::{SqlitePool};
|
||||
|
||||
pub struct PathRepository<'a> {
|
||||
pub pool: &'a SqlitePool,
|
||||
}
|
||||
|
||||
impl<'a> PathRepository<'a> {
|
||||
pub fn get_path_by_id(&self, id: i32) -> Result<Path>{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user