MssqlBoundColumn class
One column, as generated code describes it to the runtime.
- Annotations
-
- @immutable
Constructors
-
MssqlBoundColumn({required String name, required MssqlType type, bool nullable = false, bool isIdentity = false, bool isComputed = false, bool isRowVersion = false, bool hasDefault = false, bool isReadOnly = false, int maxLength = 0, int precision = 18, int scale = 0, MssqlTypeConverter<
Object?, Object?> ? converter})
Properties
-
codec
→ MssqlTypeCodec<
Object?> -
The codec for this column, built once and shared by every use of it.
latefinal
- columnType → MssqlColumnType
-
What this column is, in the driver's own terms.
no setter
-
converter
→ MssqlTypeConverter<
Object?, Object?> ? -
final
- hasDefault → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isComputed → bool
-
final
- isIdentity → bool
-
final
- isReadOnly → bool
-
The schema permits writing this column but the application must not.
final
- isRowVersion → bool
-
final
- maxLength → int
-
sys.columns.max_length, in bytes: annvarchar(50)is 100 and amaxcolumn is -1. Binds a null with the declared size.final - name → String
-
final
- nullable → bool
-
final
- nullValue → MssqlValue
-
A typed null for this column.
no setter
- precision → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → int
-
final
- type → MssqlType
-
final
- writable → bool
-
Whether an
INSERTorUPDATEmay name this column.no setter
Methods
-
bind(
Object? value) → MssqlValue - The value to hand the driver for this column.
-
decode(
Object? value) → Object? -
encode(
Object? value) → Object? -
keyValue(
Object value) → Object - A key for grouping rows by this column's value.
-
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