You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The start and end parameters currently take byte strings. These should be keys.
For now, let's take the "partial" rather than "full" key. It's a much easier-to-use API and likely to be enough for most use cases. It shouldn't be difficult to redesign in the future if proven otherwise.
let my_map = Map<String,Map<String,Item<u32>>>;let keys = my_map
.access(&storage).keys(Some("foo"),Some("bar"));// partiallet keys = my_map
.access(&storage).keys(Some(("foo",("xyzzy",()))),Some(("bar",("zzyxy",()))));// full
Probably more a "good to have" than a "must" for the prototype.
The text was updated successfully, but these errors were encountered:
The
start
andend
parameters currently take byte strings. These should be keys.For now, let's take the "partial" rather than "full" key. It's a much easier-to-use API and likely to be enough for most use cases. It shouldn't be difficult to redesign in the future if proven otherwise.
Probably more a "good to have" than a "must" for the prototype.
The text was updated successfully, but these errors were encountered: