FirestoreBox class
Properties
-
accountKeyFile
→ String
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
persistent
→ bool
-
Returns true if this Box persists stored entities.
no setterinherited
-
registry
→ Registry
-
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportsCompositeKey
→ bool
-
Returns true if this Box implementation supports composite primary keys.
no setteroverride
-
supportsIn
→ bool
-
Returns true if this Box implementation supports IN conditions.
no setteroverride
-
supportsLike
→ bool
-
Returns true if this Box implementation supports like conditions.
no setteroverride
-
supportsNot
→ bool
-
Returns true if this Box implementation supports the NOT operator.
no setteroverride
-
supportsOr
→ bool
-
Returns true if this Box implementation supports the OR operator.
no setteroverride
-
version
→ String
-
final
Methods
-
close()
→ Future
-
Closes the underlying connection of this Box. After closing, a Box can no longer be used.
override
-
deleteAll<T>([Type? type])
→ Future
-
Deletes all entities of the specified type from this Box.
override
-
deleteFrom<T>([Type? type])
→ DeleteStep<T>
-
Starts a new delete statement with a condition. SQL equivalent DELETE FROM
override
-
find<T>(dynamic key, [Type? type])
→ Future<T?>
-
Finds an entity of the specified type by primary key.
override
-
insertAll<T>(Iterable<T> entities)
→ Future
-
Inserts all specified entities of the same type in this Box.
inherited
-
keyOf(dynamic entity)
→ dynamic
-
Returns the key of the specified entity.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
select(List<Field> fields)
→ SelectStep
-
Starts a new query selecting the specified fields from the specified type. SQL equivalent SELECT
override
-
selectFrom<T>([Type? type, String? alias])
→ QueryStep<T>
-
Starts a new query selecting all fields from the specified type. SQL: SELECT * FROM
override
-
store<K>(dynamic entity)
→ Future<K>
-
Stores an entity in this Box. The entity is persisted if this Box implementation is persistent.
override
-
storeAll<K>(Iterable entities)
→ Future<List<K>>
-
Stores all specified entities in this Box.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
update<T>([Type? type])
→ UpdateStep<T>
-
Starts a new update statement for the specified type from this Box.
override