Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: XSDS (XS Data Services)

$
0
0

If you have all the filter values for COL1 in an array called FILTVALS, you could do this:

 

var cond = entity.col1.$eq(FILTVALS[0]);
FILTVALS.splice(0,1);
var cond2 = FILTVALS.reduce(function(prev, curr){     return prev.$or(entity.col1.$eq(curr));
},cond);
var qry = entity.$query().$where(cond2);
qry.$execute();

 

Message was edited by: Suhas Karnik


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>