createStore<K extends KeyBase, V extends ValueBase> method
SdbOpenStoreRef<K, V>
createStore<K extends KeyBase, V extends ValueBase>(
- SdbStoreRef<
K, V> store, { - String? keyPath,
- bool? autoIncrement,
Create a store. auto increment is set to true if not set for int keys
Implementation
SdbOpenStoreRef<K, V> createStore<K extends KeyBase, V extends ValueBase>(
SdbStoreRef<K, V> store,
{String? keyPath,
bool? autoIncrement}) =>
impl.addStoreImpl<K, V>(store.impl,
keyPath: keyPath, autoIncrement: autoIncrement);