Call a simpler function.
parent
b4460e59fa
commit
cab18cd26b
|
@ -114,7 +114,7 @@ class DODB::Index(V) < DODB::Indexer(V)
|
|||
end
|
||||
|
||||
def update(index : String, new_value : V)
|
||||
_, key = get_with_key index
|
||||
key = get_key_on_fs index
|
||||
|
||||
@storage[key] = new_value
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue