LMongo\Query\Builder::andWhereNearSphere PHP Method

andWhereNearSphere() public method

Add an "$nearSphere geospatial operation" clause to logical $and operation.
public andWhereNearSphere ( string $column, array $coords, mixed $geometry = null, mixed $maxDistance = null ) : LMongo\Query\Builder
$column string
$coords array
$geometry mixed
$maxDistance mixed
return LMongo\Query\Builder
    public function andWhereNearSphere($column, array $coords, $geometry = null, $maxDistance = null)
    {
        return $this->whereNearSphere($column, $coords, $geometry, $maxDistance, '$and');
    }
Builder