コード例 #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;
 }