Where in being populated dynamically- Server Side Editor
Where in being populated dynamically- Server Side Editor
Gayu123
Posts: 10Questions: 3Answers: 0
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();
This discussion has been closed.
Answers
Adding an "where-in" doesn't seem to be possible