Limit service return by date
Sorry that did not work. Please note that "_createdAt" and "userID" are the two columns that I am trying to filter on.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Sorry that did not work. Please note that "_createdAt" and "userID" are the two columns that I am trying to filter on.
Hi Tommy! Please try the following request:
codereturn '{"_createdAt": {"$gte": {"$date": "' + s1 + '"}, "$lte": {"$date": "' + e1 + '"}} , "userID":"' + uid + '"}';/code
we tested, it works.
Sorry its not working. If you want to check the app its "airmon" the user and pass are user1 and password. the page is called eventSearch.
We'll check and let you know.
In request we suggested there is "userID" column, but in your collection it's called "userId". You need to change it in JavaScript code.