MYSQL
MYSQL = 'MYSQL'
Constants for database types
Sql class
$db : \Pop\Db\Adapter\AbstractAdapter
Database object
$insert : \Pop\Db\Sql\Insert
Insert object
$update : \Pop\Db\Sql\Update
Update object
$delete : \Pop\Db\Sql\Delete
Delete object
__construct(\Pop\Db\Adapter\AbstractAdapter $db)
Constructor
Instantiate the SQL object
\Pop\Db\Adapter\AbstractAdapter | $db |
db() : \Pop\Db\Adapter\AbstractAdapter
Get the current database adapter object (alias method)
getDb() : \Pop\Db\Adapter\AbstractAdapter
Get the current database adapter object
setIdQuoteType(string $type = self::NO_QUOTE) : \Pop\Db\Sql\AbstractSql
Set the quote ID type
string | $type |
setPlaceholder(string $placeholder) : \Pop\Db\Sql\AbstractSql
Set the placeholder
string | $placeholder |
insert(string $table = null) : \Pop\Db\Sql\Insert
Access the insert object
string | $table |
update(string $table = null) : \Pop\Db\Sql\Update
Access the update object
string | $table |
delete(string $table = null) : \Pop\Db\Sql\Delete
Access the delete object
string | $table |
reset() : \Pop\Db\Sql
Reset and clear the SQL object