I was browsing the Laravel source code, and I found many SQL statements for Eloquent, and I was wondering which ones and how to use them.
Unfortunately, I could not find any documentation.
Here are the operators I found in vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php :
protected $operators = [ '=', '<', '>', '<=', '>=', '<>', '!=', 'like', 'like binary', 'not like', 'between', 'ilike', '&', '|', '^', '<<', '>>', 'rlike', 'regexp', 'not regexp', '~', '~*', '!~', '!~*', 'similar to', 'not similar to', ];
And there I do not understand a bunch of them. For example: & , | , ^ , << , >> , ~ , ~* !~ !~* .
Can someone show me an example of how they can be used?
thanks