Queries for dreamfactory rest api
Posted: Sat Aug 22, 2015 2:32 pm
I figured it out.
It is all in the syntax. Dreamfactory expects a different syntax than Mongo used by Appery.
First you need to change the Query String in the Request area of your query service. This must be "filter" instead of "where".
The return value of your query must be changed to accomodate the syntax required by dreamfactory.
Your JS needs to look like this return('Primary_Id=' + value); It would normally look like this return('{"Primary_Id":"'+value+'"}');