In datatable editor IN where clause how to give multiple values?
In datatable editor IN where clause how to give multiple values?
![aruncraftsion](https://secure.gravatar.com/avatar/6d8ec60501e793f58747dc497690515d/?default=https%3A%2F%2Fvanillicon.com%2F6d8ec60501e793f58747dc497690515d_200.png&rating=g&size=120)
eg:
i need to give three pincode in where condition
->where( function ( $q )use ($pincode) {
$q->where( 'pincode',600011,600021,600024,'=');
} )
This discussion has been closed.
Answers
Hi @aruncraftsion ,
You should be able to
or_where
there, see page here.So something like:
Cheers,
Colin
Duplicate of this thread.