Page 1 of 1

Question about multiple queries

Posted: Mon Jul 27, 2015 2:41 pm
by alexandros kalivas

Hi, I asked the same question yesterday but I assume you didn't see it.
I have been trying to learn how to use your platform. I followed this tutorial https://devcenter.appery.io/tutorials... and now I want to create a query with two parameters. The maker and the model. I created a second inputbox for the model, went to the mapping page, linked the second inputbox and switched the existing code for the simple query(return '{"Maker":"'+value+'"}';) and used this:
var where = {
"$and": [
{"Maker": '"' + Apperyio('Maker').val() + '"'},
{"Model": '"' + Apperyio('Model').val() + '"'}
]
};
return JSON.stringify(where);
It is not working.What am I doing wrong?
I also tried other ways( like what you say here https://getsatisfaction.com/apperyio/...) but still got nothing.
Thank you for your time.


Question about multiple queries

Posted: Fri Jul 31, 2015 4:55 pm
by Pavel Zarudniy

Hi alexandros.
Could you check are there any errors in console? This - http://devcenter.appery.io/documentat... should help.