MYSQL
MYSQL
Constants for database types
Abstract clause class
$db : \Pop\Db\Adapter\AbstractAdapter
Database 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 |
setTable(mixed $table) : \Pop\Db\Sql\AbstractSql
Set the table
| mixed | $table |
setAlias(string $alias) : \Pop\Db\Sql\AbstractSql
Set the alias
| string | $alias |
setValues(array $values) : \Pop\Db\Sql\AbstractSql
Set the values
| array | $values |
addValue(mixed $value) : \Pop\Db\Sql\AbstractSql
Add a value
| mixed | $value |
addNamedValue(string $name, mixed $value) : \Pop\Db\Sql\AbstractSql
Add a named value
| string | $name | |
| mixed | $value |