MssqlEmptyIn enum

What an IN with no values should do.

IN () is invalid SQL. The default throws so missing filter values are not mistaken for a successful query with no matches.

Inheritance
Available extensions

Values

error → const MssqlEmptyIn

Throw. The default.

matchNone → const MssqlEmptyIn

Match no rows: 1 = 0, or 1 = 1 for NOT IN.

For a UI filter where "none selected" means "nothing matches".

omit → const MssqlEmptyIn

Leave the predicate out entirely.

Use when an empty selection means no filter. Writes require MssqlWriteScope.unrestricted because omitting the predicate widens their scope.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<MssqlEmptyIn>
A constant List of the values in this enum, in order of their declaration.