AnySqlCapabilities class final
Optional features supported by a database driver.
Capabilities are conservative: a false value means callers should not
rely on that feature through the shared AnySQL API.
Constructors
- AnySqlCapabilities({bool transactions = false, bool returningRows = false, bool upsert = false, bool aggregation = false})
-
Creates a driver capability description.
const
Properties
- aggregation → bool
-
Whether the driver supports native aggregation pipelines.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- returningRows → bool
-
Whether data-changing statements can return rows.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactions → bool
-
Whether the driver implements AnySqlConnection.transaction.
final
- upsert → bool
-
Whether the database supports insert-or-update operations.
final
Methods
-
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
Constants
- none → const AnySqlCapabilities
- A driver with no optional capabilities declared.