sqlite library

Classes

SqliteAlterTable
The changes of a table, each an ALTER TABLE, a CREATE INDEX or a DROP INDEX of its own, in the order they are given, as SQLite takes one change in an ALTER TABLE.
SqliteGenerator
Compiles the columns, defaults and indexes of SQLite.
SqliteIndexes
SqliteMigrationRunner
A SQLite database migration runner, of a database of the sqlite3 package.
SqliteSchema
A SQLite database schema generator.
SqliteTable

Functions

columnIndexName(String table, String column, {bool unique = false}) → String
The name of the index of the column column of the table table, <table>_<column>_idx, as PostgreSQL names one, or, if unique, <table>_<column>_key.
compileCreateIndex(String name, String table, List<String> columns, {bool unique = false}) → String
The CREATE INDEX of the index name of the columns of the table table, which may be qualified by its schema, if it does not exist.
compileDropIndex(String table, String name) → String
The DROP INDEX of the index name of the table table.