Method |
Description |
|
addColumn ( $table, $column, $type ) |
|
|
addForeignKey ( $name, $table, $columns, $refTable, $refColumns, $delete = null, $update = null ) |
|
|
addPrimaryKey ( $name, $table, $columns ) |
|
|
alterColumn ( $table, $column, $type ) |
|
|
batchInsert ( string $index, array $columns, array $rows ) |
Creates a batch INSERT command. |
|
batchReplace ( string $index, array $columns, array $rows ) |
Creates a batch REPLACE command. |
|
bindValue ( $name, $value, $dataType = null ) |
|
|
bindValues ( $values ) |
|
|
callKeywords ( string $index, string $text, boolean $fetchStatistic = false ) |
Returns tokenized and normalized forms of the keywords, and, optionally, keyword statistics. |
|
callSnippets ( string $index, string | array $source, string $match, array $options = [] ) |
Builds a snippet from provided data and query, using specified index settings. |
|
checkIntegrity ( $check = true, $schema = '', $table = '' ) |
|
|
createIndex ( $name, $table, $columns, $unique = false ) |
|
|
createTable ( $table, $columns, $options = null ) |
|
|
dropColumn ( $table, $column ) |
|
|
dropForeignKey ( $name, $table ) |
|
|
dropIndex ( $name, $table ) |
|
|
dropPrimaryKey ( $name, $table ) |
|
|
dropTable ( $table ) |
|
|
prepare ( $forRead = null ) |
|
|
renameColumn ( $table, $oldName, $newName ) |
|
|
renameTable ( $table, $newName ) |
|
|
replace ( string $index, array $columns ) |
Creates an REPLACE command. |
|
resetSequence ( $table, $value = null ) |
|
|
truncateIndex ( string $index ) |
Creates a SQL command for truncating a runtime index. |
|
truncateTable ( $table ) |
|
|
update ( string $index, array $columns, string | array $condition = '', array $params = [], array $options = [] ) |
Creates an UPDATE command. |
|