QueryHelper
class QueryHelper (View source)
Class QueryHelper
Methods
addTable(string $alias, string $table, mixed $condition = null, string $joinType = 'LEFT', boolean $prefix = null)
addTable
$this
removeTable(string $alias)
removeTable
array
getSelectFields()
getFilterFields
static Query
static string
getDb()
getDb
array
getTables()
Method to get property Tables
setTables(array $tables)
Method to set property tables
Details
at line line 42
__construct(AbstractDatabaseDriver $db = null)
Constructor.
at line line 58
QueryHelper
addTable(string $alias, string $table, mixed $condition = null, string $joinType = 'LEFT', boolean $prefix = null)
addTable
at line line 97
$this
removeTable(string $alias)
removeTable
at line line 112
array
getSelectFields()
getFilterFields
at line line 158
QueryInterface
registerQueryTables(QueryInterface $query)
registerQueryTables
at line line 188
static Query
buildWheres(QueryInterface $query, array $conditions, bool $allowNulls = true)
buildConditions
at line line 246
static string
buildCompare(string|int $key, Compare $value, QueryInterface $query = null)
buildCompare
at line line 270
AbstractDatabaseDriver
getDb()
getDb
at line line 287
QueryHelper
setDb(AbstractDatabaseDriver $db)
setDb
at line line 299
array
getTables()
Method to get property Tables
at line line 311
QueryHelper
setTables(array $tables)
Method to set property tables