/** * Add $within criteria with a $centerSphere shape to the query. * * @deprecated 1.1 Riak 2.4 deprecated $within in favor of $geoWithin * @see Builder::geoWithinCenterSphere() * @see Expr::withinCenterSphere() * @see http://docs.mongodb.org/manual/reference/operator/centerSphere/ * @param float $x * @param float $y * @param float $radius * @return self */ public function withinCenterSphere($x, $y, $radius) { $this->expr->withinCenterSphere($x, $y, $radius); return $this; }
/** * Negates an expression for the current field. * * @see Builder::not() * @see http://docs.mongodb.org/manual/reference/operator/not/ * @param array|Expr $expression * @return self */ public function not($expression) { return $this->operator('$not', $expression instanceof Expr ? $expression->getQuery() : $expression); }
/** * Specify $type criteria for the current field. * * @see Expr::type() * @see http://docs.mongodb.org/manual/reference/operator/type/ * @param integer $type * @return self */ public function type($type) { $this->query->type($type); return $this; }