Db\Dialect\Sqlite::addForeignKey

public addForeignKey (mixed $tableName, mixed $schemaName, Phalcon\Db\ReferenceInterface $reference) Generates SQL to add an index to a table

Db\Dialect\Postgresql::tableOptions

public tableOptions (mixed $table, [mixed $schema]) Generates the SQL to describe the table creation options

Db\Dialect\Postgresql::viewExists

public viewExists (mixed $viewName, [mixed $schemaName]) Generates SQL checking for the existence of a schema.view

Db\Dialect\Postgresql::modifyColumn

public modifyColumn (mixed $tableName, mixed $schemaName, Phalcon\Db\ColumnInterface $column, [Phalcon\Db\ColumnInterface $currentColumn]) Generates SQL to modify a column in a table

Db\Dialect\Postgresql::tableExists

public tableExists (mixed $tableName, [mixed $schemaName]) Generates SQL checking for the existence of a schema.table echo $dialect->tableExists("posts", "blog"); echo $dialect->tableExists("posts");

Db\Dialect\Postgresql::listTables

public listTables ([mixed $schemaName]) List all tables in database print_r($dialect->listTables("blog"))

Db\Dialect\Postgresql::listViews

public string listViews ([string $schemaName]) Generates the SQL to list all views of a schema or user

Db\Dialect\Postgresql::dropView

public dropView (mixed $viewName, [mixed $schemaName], [mixed $ifExists]) Generates SQL to drop a view

Db\Dialect\Postgresql::getColumnDefinition

public getColumnDefinition (Phalcon\Db\ColumnInterface $column) Gets the column name in PostgreSQL

Db\Dialect\Postgresql::dropPrimaryKey

public dropPrimaryKey (mixed $tableName, mixed $schemaName) Generates SQL to delete primary key from a table