Skip to content

Commit

Permalink
Quote the table name during removing entities
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Jan 13, 2025
1 parent f23be9e commit d8a5328
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class DatabaseEntitiesRepository(context: Context, dbPath: String) : EntitiesRep
databaseConnection.withConnection {
getLists().forEach {
writableDatabase.delete(
it,
"`$it`",
"${EntitiesTable.COLUMN_ID} = ?",
arrayOf(id)
)
Expand Down

0 comments on commit d8a5328

Please sign in to comment.