SchemaTable class

Metadata describing a database table (excluding views).

Returned by SchemaDriver.listTables.

Constructors

SchemaTable({required String name, String? schema, String? type, int? sizeBytes, String? comment, String? engine, List<SchemaColumn> fields = const <SchemaColumn>[]})
const
SchemaTable.fromJson(Map<String, Object?> json)
factory

Properties

comment → String?
Optional human-readable comment attached to the table.
final
engine → String?
Storage engine reported for the table (e.g., InnoDB).
final
fields → List<SchemaColumn>
Columns included in the table.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Table name without schema qualification.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → String?
Schema that owns the table, if any.
final
schemaQualifiedName → String
Fully qualified name including the schema when available.
no setter
sizeBytes → int?
Byte size of the table data when reported by the database.
final
type → String?
Table type hint (e.g., BASE TABLE or VIEW).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited