Store class
Represents an ObjectBox database and works together with Box to allow getting and putting Objects of specific type.
Constructors
-
Store(ModelDefinition defs,
{String directory, int maxDBSizeInKB, int fileMode, int maxReaders} ) -
Creates a BoxStore using the model definition from your
objectbox.g.dart
file. [...]
Properties
- defs → ModelDefinition
-
final
-
ptr
→ Pointer<
Void> -
The low-level pointer to this store.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
close(
) → void - Closes this store. [...]
-
entityDef<
T> () → EntityDefinition< T> -
runInTransaction<
R> (TxMode mode, R fn() ) → R - Executes a given function inside a transaction. [...]
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited