コード例 #1
0
ファイル: Builder.php プロジェクト: cosmow/riak
 /**
  * Add $geoIntersects criteria with a GeoJSON geometry to the query.
  *
  * The geometry parameter GeoJSON object or an array corresponding to the
  * geometry's JSON representation.
  *
  * @see Expr::geoIntersects()
  * @see http://docs.mongodb.org/manual/reference/operator/geoIntersects/
  * @param array|Geometry $geometry
  * @return self
  */
 public function geoIntersects($geometry)
 {
     $this->expr->geoIntersects($geometry);
     return $this;
 }