mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-02 13:43:11 +00:00
Replaces replace with substring in leveldbds query
This commit is contained in:
parent
b7794b26ab
commit
0654a76192
@ -80,7 +80,7 @@ proc getQueryString(query: Query): string =
|
||||
let toTrim = ["/*", "\\*"]
|
||||
for trim in toTrim:
|
||||
if result.endswith(trim):
|
||||
result = result.replace(trim, "")
|
||||
result = result[0 ..< ^(trim.len)]
|
||||
|
||||
method query*(
|
||||
self: LevelDbDatastore,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user