ColumnInfo class
Information about the columns in a query execution result.
Constructors
- ColumnInfo({required String name, required String type, bool? caseSensitive, String? catalogName, String? label, ColumnNullable? nullable, int? precision, int? scale, String? schemaName, String? tableName})
-
ColumnInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- caseSensitive → bool?
-
Indicates whether values in the column are case-sensitive.
final
- catalogName → String?
-
The catalog to which the query results belong.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
A column label.
final
- name → String
-
The name of the column.
final
- nullable → ColumnNullable?
-
Indicates the column's nullable status.
final
- precision → int?
-
For
DECIMAL
data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → int?
-
For
DECIMAL
data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.final - schemaName → String?
-
The schema name (database name) to which the query results belong.
final
- tableName → String?
-
The table name for the query results.
final
- type → String
-
The data type of the column.
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