LMongo\Query\Builder::andWhereExists PHP 메소드

andWhereExists() 공개 메소드

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