Forge.php
system/Database/SQLite3/Forge.php
1 class
13 methods
class Forge
Forge for SQLite3
__construct
(BaseConnection $db)
createDatabase
(string $dbName, bool $ifNotExists = false)
dropDatabase
(string $dbName)
dropColumn
(string $table, $columnNames)
_alterTable
(string $alterType, string $table, $processedFields)
_processColumn
(array $processedField)
_attributeType
(array &$attributes)
_attributeAutoIncrement
(array &$attributes, array &$field)
dropForeignKey
(string $table, string $foreignName)
dropPrimaryKey
(string $table, string $keyName = '')
addForeignKey
($fieldName = '', string $tableName = '', $tableField = '', string $onUpdate = '', string $onDelete = '', string $fkName = '')
_processPrimaryKeys
(string $table, bool $asQuery = false)
_processForeignKeys
(string $table, bool $asQuery = false)