Class Forge

Summary

Fully Qualified Name: CodeIgniter\Database\SQLite3\Forge
Extends: Forge

Description

Forge for SQLite3

Methods

Name Description Defined By
__construct() Constructor. Forge
createDatabase() Create database Forge
dropDatabase() Drop database Forge
dropForeignKey() Foreign Key Drop Forge

Method Details

__construct()

Constructor.

Parameter Name Type Description
$db
$db

Returns:

createDatabase()

Create database

Parameter Name Type Description
$dbName string
$ifNotExists bool Whether

Returns: bool

dropDatabase()

Drop database

Parameter Name Type Description
$dbName string

Returns: bool

dropForeignKey()

Foreign Key Drop

Parameter Name Type Description
$table string Table
$foreignName string Foreign

Returns: bool

Top