mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-03-16 00:22:25 +03:00
database iter_from fix
This commit is contained in:
parent
caa0cbfe1d
commit
735d7a0815
1 changed files with 2 additions and 2 deletions
|
@ -334,8 +334,8 @@ impl Tree for SqliteTable {
|
|||
if backwards {
|
||||
iter_from_thread!(
|
||||
self,
|
||||
format!( // TODO change to <= on rebase
|
||||
"SELECT key, value FROM {} WHERE key < ? ORDER BY key DESC",
|
||||
format!(
|
||||
"SELECT key, value FROM {} WHERE key <= ? ORDER BY key DESC",
|
||||
name
|
||||
)
|
||||
.as_str(),
|
||||
|
|
Loading…
Reference in a new issue