32         $alias = 
function (
$column) use ($table_alias) {
 
   33             return $table_alias ? 
"{$table_alias}.{$column}" : 
$column;
 
   38         if (!empty($this->type_subtype_pairs)) {
 
   41                     $types_where[] = 
$qb->merge([
 
   52         if (!empty($types_where)) {
 
   53             $wheres[] = 
$qb->merge($types_where, 
'OR');
 
   56         $wheres[] = parent::prepare(
$qb, $table_alias);
 
   58         return $qb->merge($wheres);
 
Builds clauses for filtering entities by their type and subtype.
prepare(QueryBuilder $qb, $table_alias=null)
{{Build an expression and/or apply it to an instance of query builder.Query builder Table aliasCompos...
Builds a clause from closure or composite expression.
Database abstraction query builder.