MssqlCapabilityException class
Raised when a query asks for something the target server cannot do.
Naming the required version matters: emitting non-equivalent SQL for an older server is worse than stopping.
- Inheritance
-
- Object
- MssqlOrmException
- MssqlCapabilityException
Constructors
- MssqlCapabilityException({required String feature, required String requires, String? found})
-
const
Properties
- feature → String
-
The function or query shape that is not available.
final
- found → String?
-
What was detected instead, when it is known.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A sentence naming what happened and, where there is one, what to do.
no setteroverride
- requires → String
-
What it needs, in words a user can act on: 'SQL Server 2012 or newer'.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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