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
i use sort in query object it's work fine. but i need to to know how to add where?
sort = {}
sort['utime']=-1;
q1,err = mongo.Query.New()
ok,err = q1:sort(sort)
------ sone thing like that ----
twhere = {}
ok,err = q1:where(twhere);
The text was updated successfully, but these errors were encountered:
i use sort in query object it's work fine. but i need to to know how to add where?
sort = {}
sort['utime']=-1;
q1,err = mongo.Query.New()
ok,err = q1:sort(sort)
------ sone thing like that ----
twhere = {}
ok,err = q1:where(twhere);
The text was updated successfully, but these errors were encountered: