Fix the query to search for email addresses
This commit is contained in:
parent
ec0972d7ba
commit
ff6cc91f0d
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ class PublicKeysDB {
|
|||
final db = await instance.database;
|
||||
return _convertRows(await db.query(
|
||||
table,
|
||||
where: '$columnEmail LIKE %?%',
|
||||
whereArgs: [email],
|
||||
where: '$columnEmail LIKE ?',
|
||||
whereArgs: ['%$email%'],
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue