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

orWhereExists() 공개 메소드

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