Page 3 of 3

Limit service return by date

Posted: Tue Sep 03, 2013 3:54 pm
by Tommy B

Sorry that did not work. Please note that "_createdAt" and "userID" are the two columns that I am trying to filter on.


Limit service return by date

Posted: Tue Sep 03, 2013 5:24 pm
by Maryna Brodina

Hi Tommy! Please try the following request:
codereturn '{"_createdAt": {"$gte": {"$date": "' + s1 + '"}, "$lte": {"$date": "' + e1 + '"}} , "userID":"' + uid + '"}';/code
we tested, it works.


Limit service return by date

Posted: Tue Sep 03, 2013 5:42 pm
by Tommy B

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.


Limit service return by date

Posted: Tue Sep 03, 2013 6:15 pm
by Maryna Brodina

We'll check and let you know.


Limit service return by date

Posted: Tue Sep 03, 2013 6:38 pm
by Maryna Brodina

In request we suggested there is "userID" column, but in your collection it's called "userId". You need to change it in JavaScript code.