10 months ago

whereNotIn not working

Posted 10 months ago by screwtape_mk

Hi - i have the following query regarding the field Payment_Status which has either a 'completed' or 'error' :

I want to exclude the error payment statuses

When i apply the where clause as below it works..


but when i apply the filter i really want to apply:


I get the error:

Call to undefined method Illuminate\Database\Eloquent\Collection::whereNotIn()

Please sign in or create an account to participate in this conversation.