David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

Databse query for multiple columns

Hi,

Im using the following javascript on mapping of a database query
return '{"col1":"'+value+'"}';

what I would like to do is return a value that is filtered by 2 requests from 2 columns

example

col 1, col2, col3
1 , a, 1a
1, b, 1b
2, a, 2a
2, b, 2b

so in this example I want to request 1 from column 1 and b from column 2, giving me a return of 1b.

What javascript would I use and how would I map the 2 query requests into the query?

thanks

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Databse query for multiple columns

Hello David,

Please look at this documentation page: https://devcenter.appery.io/documenta...

Return to “Issues”