So I'm in a situation wherein I need to use an OR operator to obtain needed results.
From the documentation of Where in https://www.grocerycrud.com/enterprise/api-and-function-list/where-3, I tried using the string input by:
$crud->where([ 'table.data_UId = 2 OR '. 'table.data_Shared = 1' ]);
Yes, the crud rendered successfully but during the press of Edit or Delete button an error message displays:
Something Went Wrong!
Either the user doesn't have access to this row, either the row doesn't exist.
How can I prevent this error from happening? I really need the "OR" operator for this situation though. Is there any workaround?
Thanks in advance!