mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
fix query
This commit is contained in:
parent
aad0e266f6
commit
4fee1c06a3
@ -32,7 +32,7 @@ impl Database {
|
||||
pub fn records(&self, app_id: &i64) -> Result<Vec<Table>, Error> {
|
||||
let mut statement = self
|
||||
.connection
|
||||
.prepare("SELECT `id`, `app_id` WHERE `app_id` = ?")?;
|
||||
.prepare("SELECT `id`, `app_id` FROM `app_browser` WHERE `app_id` = ?")?;
|
||||
|
||||
let result = statement.query_map([app_id], |row| {
|
||||
Ok(Table {
|
||||
|
Loading…
x
Reference in New Issue
Block a user