Partial dictionary rewrite
This commit is contained in:
1 parent
1509947cb0
commit
f2035ca749
12 files changed
+304
-363
No files matched your search
@@ -5,10 +5,11 @@ use crate::notification::{MaybeError, NotificationData};
|
||||
use litemap::LiteMap;
|
||||
use rusqlite::{Connection, Error, Params, Row, params};
|
||||
use std::collections::HashMap;
|
||||
use crate::data::repositories::DataRepository;
|
||||
use crate::data::repositories::{BatchedDbLayer, DataRepository, DataRepositoryInner};
|
||||
|
||||
pub type WordRepository = DataRepository<WordData, SqliteDbLayer<WordData, WordQuerySet>>;
|
||||
|
||||
pub type WordRepositoryInner = DataRepositoryInner<WordData, SqliteDbLayer<WordData, WordQuerySet>>;
|
||||
pub type WordDataLayer = SqliteDbLayer<WordData, WordQuerySet>;
|
||||
#[derive(Clone)]
|
||||
pub struct WordQuerySet;
|
||||
impl TableAccessQuerySet<WordData> for WordQuerySet {
|
||||
|
||||
Reference in new issue
Block a user