DbAdapter class abstract

Database-family adapter — the db.* verbs. Concrete backends ship as separate adapter packages.

Inheritance

Constructors

DbAdapter()

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Namespace-local instance id (e.g. workspace, main_db).
no setterinherited
kind String
Backend family — fs | sql | nosql | ….
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Release resources / close connections.
inherited
exec(String statement, {List<Object?> params = const <Object?>[]}) Future<int>
Execute a non-query statement; returns affected row count.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() Future<void>
Open / connect. No-op for stateless backends.
inherited
query(String statement, {List<Object?> params = const <Object?>[]}) Future<List<DbRow>>
toString() String
A string representation of this object.
inherited
tx(List<DbStatement> statements) Future<void>
Run statements in a single transaction.

Operators

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