mirror of
https://github.com/flibusta-apps/meilie_updater.git
synced 2025-12-06 07:05:37 +01:00
Fix
This commit is contained in:
@@ -24,7 +24,7 @@ impl UpdateModel for Book {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn get_query() -> String {
|
fn get_query() -> String {
|
||||||
"SELECT id, title, lang, array(SELECT id FROM book_genres WHERE book = books.id) FROM books WHERE is_deleted = 'f';".to_string()
|
"SELECT id, title, lang, array(SELECT genre FROM book_genres WHERE book = books.id) FROM books WHERE is_deleted = 'f';".to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn from_row(row: Row) -> Self {
|
fn from_row(row: Row) -> Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user