ColumnMetadata class
Metadata for a single column in a query result.
Contains the column name and the protocol type discriminant (mirror
of the Rust OdbcType enum, NOT the ODBC SQL_* type code).
Constructors
- ColumnMetadata({required String name, required int odbcType})
-
Creates a new ColumnMetadata instance.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Column name.
final
- odbcType → int
-
Protocol type discriminant (matches
OdbcType.discriminant).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → OdbcType
-
Typed view of odbcType. Unknown discriminants degrade to
OdbcType.varchar (forward-compatible).
no setter
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