openStore function
Shortcut for Store.new that passes getObjectBoxModel and for Flutter
apps by default a directory
using defaultStoreDirectory()
from the
ObjectBox Flutter library.
Note: for desktop apps it is recommended to specify a unique directory
.
See Store.new for an explanation of all parameters.
Implementation
Store openStore(
{String? directory,
int? maxDBSizeInKB,
int? fileMode,
int? maxReaders,
bool queriesCaseSensitiveDefault = true,
String? macosApplicationGroup}) =>
Store(getObjectBoxModel(),
directory: directory,
maxDBSizeInKB: maxDBSizeInKB,
fileMode: fileMode,
maxReaders: maxReaders,
queriesCaseSensitiveDefault: queriesCaseSensitiveDefault,
macosApplicationGroup: macosApplicationGroup);