constvec = newMMapVector<Data>(); // push an entry vec.push({ cell:1n, name:'test' }); vec.push({ cell:1n, name:'test2' }); // check if a key exists vec.has(1n); // true // get length of the store console.log(vec.length); // 2
// iterate over the store forawait (constentryofvec) console.log(entry);
Vector MMap Store
Description
A mmap vector store
Usage