DatabaseAdapter class

Superclass for database adapters.

If your adapter delegates calls to another adopter, you should extend DelegatingDatabaseAdapter.

If your adapter is read-only, you should use mixin ReadOnlyDatabaseAdapterMixin.

Implementers

Constructors

DatabaseAdapter()
const

Properties

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() Future<void>
Closes the database adapter.
@mustCallSuper
database() Database
Returns the database.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
performCheckConnection({Duration timeout}) Future<void>
performDocumentBatch(DocumentBatchRequest request) Future<void>
performDocumentDelete(DocumentDeleteRequest request) Future<void>
performDocumentDeleteBySearch(DocumentDeleteBySearchRequest request) Future<void>
performDocumentInsert(DocumentInsertRequest request) Future<void>
performDocumentRead(DocumentReadRequest request) Stream<Snapshot>
performDocumentReadWatch(DocumentReadWatchRequest request) Stream<Snapshot>
performDocumentSearch(DocumentSearchRequest request) Stream<QueryResult>
performDocumentSearchChunked(DocumentSearchChunkedRequest request) Stream<QueryResult>
performDocumentSearchWatch(DocumentSearchWatchRequest request) Stream<QueryResult>
performDocumentTransaction(DocumentTransactionRequest request) Future<void>
performDocumentUpdate(DocumentUpdateRequest request) Future<void>
performDocumentUpdateBySearch(DocumentUpdateBySearchRequest request) Future<void>
performDocumentUpsert(DocumentUpsertRequest request) Future<void>
performExtension(DatabaseExtensionRequest<DatabaseExtensionResponse> request) Stream<DatabaseExtensionResponse>
performSchemaRead(SchemaReadRequest request) Stream<DatabaseSchema>
performSqlQuery(SqlQueryRequest request) Future<SqlIterator>
performSqlStatement(SqlStatementRequest request) Future<SqlStatementResult>
performSqlTransaction(SqlTransactionRequest request) Future<void>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited