Database
A simple database class
- $database->affected()
- $database->connect()
- $database->connection()
- $database->createTable()
- $database->dropTable()
- $database->escape()
- $database->execute()
- $database->fail()
- $database->lastError()
- $database->lastId()
- $database->lastQuery()
- $database->lastResult()
- $database->name()
- $database->prefix()
- $database->query()
- $database->sql()
- $database->table()
- $database->trace()
- $database->type()
- $database->validateColumn()
- $database->validateTable()
- Database::instance()
- Database::instances()
- new Database()
Example
Create a table
Since 4.2.0
Newly added options are the unsigned
option for integers and size
option for varchars as well as the float
and decimal
types.