Capabilities class final Independent SQL drivers
Features a concrete driver can execute for its actual engine and platform.
Query and runtime layers check these limits before submitting unsupported work. A database product may support more than its current adapter exposes.
Constructors
- Capabilities({required SqlDialect dialect, required int maxParameters, bool returning = true, bool windowFunctions = true, bool streaming = false, bool cancellation = false, bool? statementTimeout, bool exactDecimal = false, bool temporal = false})
-
Declares adapter capabilities; deadlines default to cancellation support.
const
Properties
- cancellation → bool
-
Whether an active statement can receive a cancellation request.
final
- dialect → SqlDialect
-
Engine syntax and semantics used by this connection.
final
- exactDecimal → bool
-
Whether the adapter supplies the ORM's exact decimal SQL behavior.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxParameters → int
-
Maximum bound parameter count for a single statement.
final
- returning → bool
-
Whether writes support returning selected rows directly.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statementTimeout → bool
-
Honors statement deadlines, potentially by discarding the connection.
A timeout does not prove that a submitted write was rolled back.
final
- streaming → bool
-
Whether callers can fetch bounded batches through SqlCursor.
final
- temporal → bool
-
Whether exact calendar and UTC instant storage conversions are configured.
final
- windowFunctions → bool
-
Whether the adapter supports SQL window expressions.
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