mongodb / laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

Home Page:https://www.mongodb.com/compatibility/mongodb-laravel-integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Support converting arrow into dot notation in where

masterbater opened this issue · comments

commented

Is your feature request related to a problem?

https://github.com/filamentphp/filament/blob/be6290f0d01d3b589274284592e7e3c777e674df/packages/notifications/src/Livewire/DatabaseNotifications.php#L87

This line causes issue like This database engine does not support JSON operations.
return $this->getUser()->notifications()->where('data->format', 'filament');

This package could internally convert data->format into data.format to work?

This doesnt state that WhereJson** queries is not supported or arrow queries

The following Eloquent methods are not supported in Laravel MongoDB:

toSql()

toRawSql()

whereColumn()

orWhereColumn()

whereFulltext()

groupByRaw()

orderByRaw()

inRandomOrder()

union()

unionAll()

havingRaw()

having()

havingBetween()

orHavingRaw()

whereIntegerInRaw()

orWhereIntegerInRaw()

whereIntegerNotInRaw()

orWhereIntegerNotInRaw()