DocumentRef<E, D extends Document<E>> class

Annotations

Constructors

DocumentRef({required DocumentReference<JsonMap> ref, required QueryRef<E, D, DocumentRef<E, D>> collectionRef})
const

Properties

collectionRef QueryRef<E, D, DocumentRef<E, D>>
final
hashCode int
The hash code for this object.
no setteroverride
id String
no setter
ref DocumentReference<JsonMap>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete({WriteBatch? batch, Transaction? transaction}) Future<void>
document() Stream<D?>
get({GetOptions? options, Transaction? transaction}) Future<D?>
options doesn't work with transaction
merge(E entity, {WriteBatch? batch, Transaction? transaction}) Future<void>
マージ
mergeData(JsonMap data, {WriteBatch? batch, Transaction? transaction}) Future<void>
マージ
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(E entity, {WriteBatch? batch, Transaction? transaction}) Future<void>
全置き換え
setData(JsonMap data, {WriteBatch? batch, Transaction? transaction}) Future<void>
全置き換え
toString() String
A string representation of this object.
inherited
update(E entity, {WriteBatch? batch, Transaction? transaction}) Future<void>
すでにあるデータに対して マージと似ているがそのキーの配下のものは置き換わる
updateData(JsonMap data, {WriteBatch? batch, Transaction? transaction}) Future<void>
すでにあるデータに対して マージと似ているがそのキーの配下のものは置き換わる

Operators

operator ==(Object other) bool
The equality operator.
override