public addForeignKey (mixed $tableName, mixed $schemaName, Phalcon\Db\ReferenceInterface $reference) Generates SQL to add an index to a table
public tableOptions (mixed $table, [mixed $schema]) Generates the SQL to describe the table creation options
public viewExists (mixed $viewName, [mixed $schemaName]) Generates SQL checking for the existence of a schema.view
public modifyColumn (mixed $tableName, mixed $schemaName, Phalcon\Db\ColumnInterface $column, [Phalcon\Db\ColumnInterface $currentColumn]) Generates SQL to modify a column in a table
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");
public listTables ([mixed $schemaName]) List all tables in database print_r($dialect->listTables("blog"))
public string listViews ([string $schemaName]) Generates the SQL to list all views of a schema or user
public dropView (mixed $viewName, [mixed $schemaName], [mixed $ifExists]) Generates SQL to drop a view
public getColumnDefinition (Phalcon\Db\ColumnInterface $column) Gets the column name in PostgreSQL
public dropPrimaryKey (mixed $tableName, mixed $schemaName) Generates SQL to delete primary key from a table
Page 292 of 382