FusabaseOracledb class

The main FusabaseOracledb class, providing access to collections, documents, transactions, etc.

Parameters:

  • app: The associated FusabaseApp instance.

Returns: An instance of FusabaseOracledb.

Example:

var db = FusabaseOracledb(app: myApp);

Constructors

FusabaseOracledb({required FusabaseApp app})

Properties

app ↔ FusabaseApp
getter/setter pair
hashCode → int
Gets a hash code for this FusabaseOracledb instance.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settings ↔ Settings
getter/setter pair

Methods

batch() → WriteBatch
Creates a write batch for batch operations.
collection(String collectionPath) → CollectionReference<Map<String, dynamic>>
Gets a reference to a collection.
collectionGroup(String name) → Query<Map<String, dynamic>>
Gets a query over all collections with the given name (collection group query).
doc(String documentPath) → DocumentReference<Map<String, dynamic>>
Gets a reference to a document.
dualityViewCollection(String name) → DualityViewColReference<Map<String, dynamic>>
Gets a reference to a duality view collection.
dualityViewDoc(String documentPath) → DualityViewDocReference<Map<String, dynamic>>
Gets a reference to a duality view document.
join(String name) → Query<Object?>
Creates a join query.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runTransaction<T>(TransactionHandler<T> transactionHandler, {Duration timeout = const Duration(seconds: 30), int maxAttempts = 5}) → Future<T>
Runs a transaction.
terminate() → Future<void>
Terminates the FusabaseOracledb instance, clearing the app's store reference.
toString() → String
Returns a string representation of this FusabaseOracledb instance.
override
updateDocs(String collectionPath) → BulkUpdate<Object?>
Gets a reference to a collection to do bulk update.

Operators

operator ==(Object other) → bool
Checks equality with another FusabaseOracledb instance based on app name.
override

Static Properties

instance → FusabaseOracledb
Gets the default FusabaseOracledb instance for the default app.
no setter

Static Methods

instanceFor({required FusabaseApp app}) → FusabaseOracledb
Creates or retrieves an FusabaseOracledb instance for the given app.