LMongo\Query\Builder::whereExists PHP Method

whereExists() public method

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