mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
disable constructions not in use
This commit is contained in:
parent
ff82804e5b
commit
64046f35c3
2 changed files with 6 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ use std::sync::Arc;
|
|||
|
||||
pub struct Table {
|
||||
pub id: i64,
|
||||
pub app_id: i64,
|
||||
// pub app_id: i64, not in use
|
||||
}
|
||||
|
||||
pub struct Database {
|
||||
|
|
@ -37,7 +37,7 @@ impl Database {
|
|||
let result = statement.query_map([app_id], |row| {
|
||||
Ok(Table {
|
||||
id: row.get(0)?,
|
||||
app_id: row.get(1)?,
|
||||
// app_id: row.get(1)?, not in use
|
||||
})
|
||||
})?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue