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: 3.8.2 - PHP Version: 7.4.13 - Database Driver & Version: 1.9.0 ### Description: Adding a mysql relation to a mongodb model causes the given error when fetching...

Laravel has inRandomOrder() method on collections. How to get documents by random order here? Is it possible?

enhancement

- Laravel-mongodb Version: 3.* - PHP Version: 7.3.* - Lumen: 5.5.2 ### Description: ### Steps to reproduce 1. Keyword::distinct('keyword')->skip(0)->take(5)->get(); 2. This will give distinct records, but return all the records...

- Laravel-mongodb Version: 3.7.3 - PHP Version: 7.4 when im using raw method it ignores all condition that i performed on query builder instance ### Steps to reproduce 1.` Course::query()->where('price'...

Hi everybody, I'm a newbie in laravel and mongodb field. I installed jenssegers/laravel-mongodb, configured .env like below: ``` DB_CONNECTION=mongodb DB_HOST=127.0.0.1 DB_PORT=27017 DB_DATABASE=db DB_USERNAME=root DB_PASSWORD=123456a@ ``` The app connected to db...

Needs investigation

Hi, i'm using this query `models_types::orderby('manufacturer_name')->groupby('manufacturer_name')->pluck('manufacturer_name','_id');` so that to get an array with these 2 fields. If i remove the groupby works fine but with it i get the error...

Needs investigation

right now when implementing the relationship Many-to-Many with MySql, all is working but when trying to detach from the MySQL model an error `BadMethodCallException with message 'Call to undefined method...

**App/User.php** ``` namespace App; use Jenssegers\Mongodb\Eloquent\Model as Eloquent; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Eloquent implements Authenticatable { use Notifiable; protected $collection = 'users'; } ``` **config/app.php**...

bug
docs

Hi, I want to know if there is a way to cast a _Mongo Cursor_ instance from a raw query in to a _Collection_ of _Model_. `DB::collection('test')->raw()->aggregate( [ ['$match' =>...

enhancement