예제 #1
0
파일: Builder.php 프로젝트: cosmow/riak
 /**
  * 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;
 }