DBSingleConnectionProvider<C extends DBConnection> class
A single connection provider.
- Inheritance
-
- Object
- DBConnectionProvider<
C> - DBSingleConnectionProvider
Constructors
- DBSingleConnectionProvider.new(C connection)
Properties
- connection → C
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → FutureOr< int> -
Closes the provider and it's connections.
override
-
getConnection(
) → FutureOr< C> -
Returns a DBConnection to execute commands.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
releaseConnection(
C connection) → FutureOr< bool> -
Releases a DBConnection to be reused.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited