LMongo\Query\Builder::andWhereExists PHP Méthode

andWhereExists() public méthode

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