Schema class abstract final

Schema access.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

builder([String? connection]) → Future<SchemaBuilder>
create(String table, void define(Blueprint table)) → Future<void>
drop(String table) → Future<void>
dropIfExists(String table) → Future<void>
ensureVectorExtensionExists({String? schema}) → Future<void>
Creates the pgvector extension.
getColumns(String table) → Future<List<ColumnInfo>>
Columns of table (Schema::getColumns).
hasColumn(String table, String column) → Future<bool>
hasTable(String table) → Future<bool>
hasView(String view) → Future<bool>
rename(String from, String to) → Future<void>
table(String table, void define(Blueprint table)) → Future<void>