You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when iam using mongdb-erlang query as
#{<<"$near">> => #{<<"$geometry">> => #{<<"type">> => <<"Point">>, <<"coordinates">> => [Long,Lat]}},<<"$maxDistance">> => 1000 }.
Iam getting error as Can't canonicalize query :: caused by :: unknown operator: $maxDistance .
if i use query without $maxDistance field then query is executed.
Can anyone help how to use $maxDistance in mongodb-erlang query.
The text was updated successfully, but these errors were encountered:
when iam using mongdb-erlang query as
#{<<"$near">> => #{<<"$geometry">> => #{<<"type">> => <<"Point">>, <<"coordinates">> => [Long,Lat]}},<<"$maxDistance">> => 1000 }.
Iam getting error as Can't canonicalize query :: caused by :: unknown operator: $maxDistance .
if i use query without $maxDistance field then query is executed.
Can anyone help how to use $maxDistance in mongodb-erlang query.
The text was updated successfully, but these errors were encountered: