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
Hi neoxic. I ahve problem.Iwant query this .
mongo shell i want. db.test.find({"$and":[{"num":{"$exists":true}},{"num":{"$nin":[0]}}]}).sort({num:1}).limit(1)
i try query in local query_max = mongo.BSON('{"$and":[{"num":{"$exists":true}},{"num":{"$nin":[0]}}]},{"limit":5}')
for select_data in collection:find(query_max):iterator() do
print(select_data.num)
end
respon = {}
help pls neoxic.I think syntax me error.but i don't know guy.
thank you.
The text was updated successfully, but these errors were encountered:
Hi neoxic. I ahve problem.Iwant query this .
mongo shell i want.
db.test.find({"$and":[{"num":{"$exists":true}},{"num":{"$nin":[0]}}]}).sort({num:1}).limit(1)
i try query in
local query_max = mongo.BSON('{"$and":[{"num":{"$exists":true}},{"num":{"$nin":[0]}}]},{"limit":5}')
respon = {}
help pls neoxic.I think syntax me error.but i don't know guy.
thank you.
The text was updated successfully, but these errors were encountered: