LMongo\Query\Builder::whereType PHP Method

whereType() public method

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