laravel-mongodb icon indicating copy to clipboard operation
laravel-mongodb copied to clipboard

[Feature Request]

Open Spartaques opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

There are no any possibility to do negation.

Describe the solution you'd like

I would like to use whereNot or orWhereNot to negate everything that is in the query.

Describe alternatives you've considered

Additional context

For example i have a query: where('something', '123')->where('something2', '456')

To negate this i can use whereNot instead of where or use it like: where('something','!=', '123')->where('something2','!=', '456')

as you see whereNot is simpler

Spartaques avatar Jul 12 '22 15:07 Spartaques