Where in being populated dynamically- Server Side Editor

Where in being populated dynamically- Server Side Editor

Gayu123Gayu123 Posts: 10Questions: 3Answers: 0
edited July 2015 in Free community support

Hi,

I would like to populate the value I get from the data table into a sql "where in". I know we can use or_where. But here the content is obtained dynamically. Please tell me how i should go about it.
Is the following correct??
->where( function ( $q ) { $q->where('srce_lic_id',"(SELECT * FROM pd_v3_Lics where SIEBEL_ACCNT_ID in '$val')", 'IN', false ); }) ->process( $_POST ) ->json();

Answers

  • Gayu123Gayu123 Posts: 10Questions: 3Answers: 0

    Adding an "where-in" doesn't seem to be possible

This discussion has been closed.