DualityViewDocReference<T extends Object?> class

Represents a reference to a document in a duality view.

Extends DocumentReference for duality view specific behavior.

Parameters:

  • helper: The query helper.
  • oracledb: The FusabaseOracledb instance.
  • path: The path to the document.
  • parent_: Optional parent.

Returns: An instance of DualityViewDocReference.

Example:

var docRef = oracledb.dualityViewCollection('viewName').doc('docId');
Inheritance

Constructors

DualityViewDocReference({required QueryHelper helper, required FusabaseOracledb oracledb, required String path, dynamic parent_})

Properties

fromConverter ↔ dynamic
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
Gets the ID of the document.
no setterinherited
oracledb → FusabaseOracledb
Gets the FusabaseOracledb instance.
no setterinherited
parent → DualityViewColReference<T>
Gets the parent collection reference.
no setteroverride
path → String
Gets the path of the document.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toConverter ↔ dynamic
getter/setter pairinherited
type ↔ String
getter/setter pairinherited

Methods

collection(String collectionPath) → DualityViewColReference<Map<String, dynamic>>
Gets a subcollection reference. Throws error as subcollections not supported in duality view.
override
delete([dynamic transObj]) → Future<void>
Deletes the document.
inherited
get([GetOptions? options, dynamic transObj]) → Future<DocumentSnapshot<T>>
Gets the document snapshot.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(T data, [SetOptions? options, dynamic transObj]) → Future<void>
Sets the data for the document, optionally merging.
inherited
snapshots({bool includeMetadataChanges = false, ListenSource source = ListenSource.defaultSource}) → Stream<DocumentSnapshot<T>>
Returns a stream of snapshots for the document.
inherited
toString() → String
A string representation of this object.
inherited
update(Map<Object, Object?> data, [dynamic transObj]) → Future<void>
Updates fields in the document.
inherited
withConverter<R>({required FromOracledb<R> fromOracledb, required ToOracledb<R> toOracledb}) → DualityViewDocReference<R>
Applies converters to the document reference.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited