Method |
Description |
|
addColumn ( string $tableName, string $schemaName, Phalcon\Db\ColumnInterface $column ) : string |
Generates SQL to add a column to a table. |
|
addForeignKey ( string $tableName, string $schemaName, Phalcon\Db\ReferenceInterface $reference ) : string |
Generates SQL to add an index to a table. |
|
addIndex ( string $tableName, string $schemaName, Phalcon\Db\IndexInterface $index ) : string |
Generates SQL to add an index to a table. |
|
addPrimaryKey ( string $tableName, string $schemaName, Phalcon\Db\IndexInterface $index ) : string |
Generates SQL to add the primary key to a table. |
|
createTable ( string $tableName, string $schemaName, array $definition ) : string |
Generates SQL to create a table in Oracle. |
|
createView ( string $viewName, array $definition, string $schemaName = null ) : string |
Generates SQL to create a view. |
|
describeColumns ( string $table, string $schema = null ) : string |
Generates SQL to describe a table. |
|
describeIndexes ( string $table, string $schema = null ) : string |
Generates SQL to query indexes on a table. |
|
describeReferences ( $table, $schema = null ) |
|
|
dropColumn ( string $tableName, string $schemaName, string $columnName ) : string |
Generates SQL to delete a column from a table. |
|
dropForeignKey ( string $tableName, string $schemaName, string $referenceName ) : string |
Generates SQL to delete a foreign key from a table. |
|
dropIndex ( string $tableName, string $schemaName, string $indexName ) : string |
Generates SQL to delete an index from a table. |
|
dropPrimaryKey ( string $tableName, string $schemaName ) : string |
Generates SQL to delete primary key from a table. |
|
dropTable ( string $tableName, string $schemaName, boolean $ifExists = true ) : string |
Generates SQL to drop a table. |
|
dropView ( string $viewName, string $schemaName = null, boolean $ifExists = true ) : string |
Generates SQL to drop a view. |
|
getColumnDefinition ( Phalcon\Db\ColumnInterface $column ) : string |
Gets the column name in Oracle. |
|
limit ( string $sqlQuery, mixed $number ) : string |
Generates the SQL for LIMIT clause. |
|
listTables ( string $schemaName = null ) : string |
List all tables in database. |
|
listViews ( string $schemaName = null ) : string |
Generates the SQL to list all views of a schema or user. |
|
modifyColumn ( string $tableName, string $schemaName, Phalcon\Db\ColumnInterface $column, Phalcon\Db\ColumnInterface $current = null ) : string |
Generates SQL to modify a column in a table. |
|
supportsReleaseSavepoints ( ) : boolean |
Checks whether the platform supports releasing savepoints. |
|
supportsSavepoints ( ) : boolean |
Checks whether the platform supports savepoints. |
|
tableExists ( string $tableName, string $schemaName = null ) : string |
Generates SQL checking for the existence of a schema.table |
|
tableOptions ( string $table, string $schema = null ) : string |
Generates the SQL to describe the table creation options. |
|
viewExists ( string $viewName, string $schemaName = null ) : string |
Generates SQL checking for the existence of a schema.view |
|