chore: add explicit listing to attribute columns output in query
This commit is contained in:
@@ -2,7 +2,15 @@ use crate::*;
|
||||
use rusqlite::*;
|
||||
|
||||
const SELECT_ATTRIBUTE_BY_FK: &str = r#"
|
||||
SELECT * FROM attribute
|
||||
SELECT
|
||||
id,
|
||||
entity_id,
|
||||
value_int,
|
||||
value_uint,
|
||||
value_real,
|
||||
value_text,
|
||||
value_bool
|
||||
FROM attribute
|
||||
WHERE entity_id = ?1;
|
||||
"#;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user