chore: make entity column names explicity during query in load by id
This commit is contained in:
@@ -2,7 +2,7 @@ use crate::*;
|
|||||||
use rusqlite::*;
|
use rusqlite::*;
|
||||||
|
|
||||||
const SELECT_ENTITY_BY_ID: &str = r#"
|
const SELECT_ENTITY_BY_ID: &str = r#"
|
||||||
SELECT * FROM entity
|
SELECT id, class, subclass, ref_date FROM entity
|
||||||
WHERE id = ?1;
|
WHERE id = ?1;
|
||||||
"#;
|
"#;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user