mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
core: add flags to Storage.Find
It can be iterated over keys, values or both. Prefix can be stripped.
This commit is contained in:
parent
2130e17f0c
commit
7fc0c04dba
8 changed files with 148 additions and 24 deletions
|
@ -28,6 +28,7 @@ func Next(it Iterator) bool {
|
|||
// successful Next call. This function uses `System.Iterator.Value` syscall.
|
||||
// For slices the result is just value.
|
||||
// For maps the result can be casted to a slice of 2 elements: key and value.
|
||||
// For storage iterators refer to `storage.FindFlags` documentation.
|
||||
func Value(it Iterator) interface{} {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue