SQLiteDdlGenerator class

DDL generator for SQLite.

Inheritance

Constructors

SQLiteDdlGenerator()
DDL generator for SQLite.
const

Properties

dialect → SqlDialect
The SQL dialect used by this generator.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

alterTable(AlterTable operation) String
Expresses every change operation carries, column changes, checks, and this table's index changes.
override
createIndex(IndexInfo index, {bool ifNotExists = false}) String
Generates a CREATE INDEX statement.
override
createTable(TableInfo table, {bool ifNotExists = false}) String
Generates a CREATE TABLE statement.
override
dropIndex(String indexName) String
Generates a DROP INDEX statement.
override
dropTable(String tableName) String
Generates a DROP TABLE statement.
override
escapeName(String name) String
Escape name through the dialect.
inherited
generate(List<DiffOperation> operations) String
Generates SQL DDL statements from a list of diff operations.
override
getColumnType(ColumnInfo column) String
Gets the SQL type string for a column.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(DiffOperation operation) String
Renders a single operation through the dialect's methods.
inherited
toString() String
A string representation of this object.
inherited

Operators

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