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

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

Results 183 laravel-mongodb issues
Sort by recently updated
recently updated
newest added

- Laravel-mongodb Version: 7.0 - PHP Version: 7.4 - Database Driver & Version: 4.0 ### Description: In a Laravel project that I'm working on, we now have a use case...

- Laravel-mongodb Version: 3.8.4 - Laravel Version: v8.50.0 - PHP Version: 8.0.8 - Database Driver & Version: mongodb/mongodb 1.9.0 ### Description: orderby doesn't work ### Steps to reproduce 1. $query...

- Laravel-mongodb Version: 3.8.4 - PHP Version: 7.4.12 - Laravel: 8.55 (lastest) - Database Driver & Version: mongodb/mongodb 1.9 ### Description: ### Steps to reproduce Project Model ``` class Project...

### Description: when i am using DB::table("users")->where("_id","xyz")->first(); this is returning an array but laravel default behaviour of first() method should return object not an array. If i am using Model...

Hi I agree the issue because of connectivity between model. As per the jessengers package guidelines. Instead of use Illuminate\Database\Eloquent\Model; am using this use Jenssegers\Mongodb\Eloquent\Model; But how can i overwride...

question
Needs investigation

For example, We assume we want to sum of "price" with "account_name". I can't get right now. You can take a look given example. INPUT: ABCModel::select('account_name')->where('id', '=', $_id)->sum('price'); OUTPUT: 0...

- Laravel-mongodb Version: 3.8 - PHP Version: 7.3.26 - Database Driver & Version: mongodb ### Description: Query is not performing as it should ### Steps to reproduce ``` $todayStart =...

` foreach ($event->volunteers as $key => $volunteer) { if ($volunteer['user_id'] == $userId) { $event->where('volunteers.user_id', intval($userId)) ->unset("volunteers.$key"); } }` Here is my DB structure `"volunteers" : [ null, { "user_id" :...

Hi, So my problem is that a Carbon date is not automatically converted to a MongoDate (like it says in the docs) if I store that date inside an array....

enhancement
question
Needs investigation

- Laravel-mongodb Version: 3.8.4 - Laravel Version: v8.50.0 - PHP Version: 7.4.13 - Database Driver & Version: mongodb/mongodb 1.9.0 ### Description: The eloquent method ```updateOrCreate``` will always create a new...