mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix query
This commit is contained in:
parent
aad0e266f6
commit
4fee1c06a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue