createStore<K extends SdbKey, V extends SdbValue> abstract method

SdbOpenStoreRef<K, V> createStore<K extends SdbKey, V extends SdbValue>(
  1. SdbStoreRef<K, V> store, {
  2. String? keyPath,
  3. bool? autoIncrement,
})

Create a store. auto increment is set to true if not set for int keys

Implementation

SdbOpenStoreRef<K, V> createStore<K extends SdbKey, V extends SdbValue>(
  SdbStoreRef<K, V> store, {

  /// Only allow a single String keyPath, use autoIncrement and add indexes for more complex keyPaths
  String? keyPath,
  bool? autoIncrement,
});