ColumnInfo class final

Actual catalog columns, rather than a claimed migration version.

Constructors

ColumnInfo({required String name, required String storageType, required bool nullable, String? defaultSql, bool generated = false, ComputedColumn? computed, int? integerBits, String? collation, int? decimalPrecision, int? decimalScale, int? temporalPrecision})
Records physical column facts without interpreting them as a Dart model.
const

Properties

collation → String?
Catalog collation name, including ORM storage collations where applicable.
final
computed → ComputedColumn?
Database-computed expression and storage mode, when recognized.
final
decimalPrecision → int?
Recognized maximum decimal digits, or null for unconstrained/other storage.
final
decimalScale → int?
Recognized decimal fractional digits, or null when not constrained.
final
declarationComputed → ComputedColumn?
SQL suitable for a declaration, without ORM storage coercion wrappers.
no setter
declarationDefaultSql → String?
Removes the managed SQLite default coercion when drafting a declaration.
no setter
defaultSql → String?
Catalog default expression, or null when no SQL default is present.
final
generated → bool
Engine-specific generated, hidden, or identity flag from the catalog.
final
hashCode → int
The hash code for this object.
no setterinherited
integerBits → int?
Recognized signed integer width, or null when not applicable or unknown.
final
name → String
Physical column name.
final
nullable → bool
Whether the inspected column permits SQL NULL.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storageType → String
Database storage type as normalized by the engine's catalog reader.
final
temporalPrecision → int?
Recognized fractional-second precision, or null for other storage.
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