61 $alias =
function (
$column) use ($table_alias) {
62 return $table_alias ?
"{$table_alias}.{$column}" :
$column;
66 $wheres[] = parent::prepare($qb, $table_alias);
70 $wheres[] = $qb->
compare($alias(
'value'), $this->comparison, $this->values, $this->value_type, $this->case_sensitive);
74 return $qb->
merge($wheres);
Database abstraction query builder.
compare(string $x, string $comparison, $y=null, string $type=null, bool $case_sensitive=null)
Build value comparison clause.
const ELGG_VALUE_TIMESTAMP
Builds a clause from closure or composite expression.
merge($parts=null, $boolean= 'AND')
Merges multiple composite expressions with a boolean.
between(string $x, $lower=null, $upper=null, string $type=null)
Build a between clause.