コード例 #1
0
ファイル: Builder.php プロジェクト: cosmow/riak
 /**
  * Add $within criteria with a $center shape to the query.
  *
  * @deprecated 1.1 Riak 2.4 deprecated $within in favor of $geoWithin
  * @see Builder::geoWithinCenter()
  * @see Expr::withinCenter()
  * @see http://docs.mongodb.org/manual/reference/operator/center/
  * @param float $x
  * @param float $y
  * @param float $radius
  * @return self
  */
 public function withinCenter($x, $y, $radius)
 {
     $this->expr->withinCenter($x, $y, $radius);
     return $this;
 }