LMongo\Query\Builder::andWhereExists PHP Method

andWhereExists() public method

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