LMongo\Query\Builder::orWhereType PHP Method

orWhereType() public method

Add an "$type element operation" clause to logical $or operation.
public orWhereType ( string $column, integer $type ) : LMongo\Query\Builder
$column string
$type integer
return LMongo\Query\Builder
    public function orWhereType($column, $type)
    {
        return $this->where($column, array('$type' => $type), '$or');
    }
Builder