DatapodDatabaseBase class abstract

Base class for DatapodDatabase implementations provided by plugins.

Constructors

DatapodDatabaseBase(String name, DatabaseConnection connection, TransactionManager transactionManager)

Properties

connection → DatabaseConnection
The underlying connection provided by the plugin.
final
hashCode int
The hash code for this object.
no setterinherited
migrationConnection → DatabaseConnection?
An optional connection with elevated privileges for migrations.
no setteroverride
name String
The name of this database as defined in databases.yaml.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaManager → SchemaManager
The schema manager for this database.
no setteroverride
transactionManager → TransactionManager
The TransactionManager for this database.
final

Methods

close() Future<void>
Closes the database connection and releases any pooled resources.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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