Storage.Find Method
Finds the value collection from the persistent storage based on the given key prefix. This method cannot be used together with StorageMap.
Namespace: Neo.SmartContract.Framework.Services.Neo
Assembly: Neo.SmartContract.Framework
Syntax
Parameters:
-
Context: Storage context as a StorageContext . If StorageContext is not passed in, CurrentContext is used by default.
-
prefix: prefix as a byte array or string.
Return value: Iterator<string, byte[]> or Iterator<byte[], byte[]> .