Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel eloquent where id not equal to

Code::where('to_be_used_by_user_id', '!=' , 2)->orWhereNull('to_be_used_by_user_id')->get()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #eloquent #id #equal
ADD COMMENT
Topic
Name
8+4 =