App is building
This commit is contained in:
1 parent
7e1bb4bc22
commit
f9c4bf9c03
5 files changed
+108
-94
No files matched your search
@@ -32,7 +32,7 @@ impl TableAccessQuerySet<HistoryNote> for HistoryQuerySet {
|
||||
Ok(HistoryNote {
|
||||
id: row.get(0)?,
|
||||
timestamp: row.get(3)?,
|
||||
set_id: row.get(1)?,
|
||||
deck_id: row.get(1)?,
|
||||
word_id: row.get(2)?,
|
||||
answer: row.get(4)?,
|
||||
before: row.get(5)?,
|
||||
@@ -43,7 +43,7 @@ impl TableAccessQuerySet<HistoryNote> for HistoryQuerySet {
|
||||
|
||||
fn insert_params(entity: &HistoryNote) -> impl Params {
|
||||
(
|
||||
entity.set_id,
|
||||
entity.deck_id,
|
||||
entity.word_id,
|
||||
entity.timestamp,
|
||||
entity.answer,
|
||||
@@ -55,7 +55,7 @@ impl TableAccessQuerySet<HistoryNote> for HistoryQuerySet {
|
||||
|
||||
fn update_params(entity: &HistoryNote) -> impl Params {
|
||||
(
|
||||
entity.set_id,
|
||||
entity.deck_id,
|
||||
entity.word_id,
|
||||
entity.timestamp,
|
||||
entity.answer,
|
||||
|
||||
Reference in new issue
Block a user