0

can we use OR operator to refer the two different attribute?

Ex: delivery_status table has two different column like sms_status and email_status.

Need to get records which are delivered either from sms or email.

Below one considering all attribute as AND.

rest/v3/status/56/?limit=10&offset=0&filter[1][attribute]=mail_status&filter[1][in][1]=4&filter[1][in][2]=1&filter[0][attribute]=sms_status&filter[0][in][1]=4&filter[0][in][2]=1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.