geoWithin method

SelectorBuilder geoWithin(
  1. String fieldName,
  2. ShapeOperator shape
)

Only support $geometry shape operator Available ShapeOperator instances: Box , Center, CenterSphere, Geometry

Implementation

SelectorBuilder geoWithin(String fieldName, ShapeOperator shape) {
  _addExpression(fieldName, {'\$geoWithin': shape.build()});
  return this;
}