postgres library

Classes

PostgresAlterTable
PostgresGenerator
PostgresIndexes
PostgresMigrationRunner
A PostgreSQL database migration runner
PostgresSchema
A PostgreSQL database schema generator
PostgresTable

Functions

columnIndexName(String table, String column) → String
The name of the index of the column column of the table table, which is declared with a standard index, as PostgreSQL names one, <table>_<column>_idx, quoted.
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, {bool ifExists = false}) → String
The DROP INDEX of the index name of the table table, which is of the schema of the table, unless name is qualified by one.