Monday, 10 April 2017

How to add {In} list to oracle db node js

I have this query

select * from foo where id in (:ListOfIds) 

i call this method many times, but each call has different values for example

    select * from foo where id in (1,2,5) 
    select * from foo where id in (3,4,6) 

So how can i pass the list to this query ?



via Habooltak Ana

No comments:

Post a Comment