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 207 laravel-mongodb issues
Sort by recently updated
recently updated
newest added

I have a list of documents in which there is a date field as follows `ISODate("2020-05-28T06:34:23.000Z")` how to filter out data with only date and time distinct condition ``` $db...

- Laravel-mongodb Version: 3.9.9 - PHP Version: 8.1.0 - Database Driver & Version: ### Description: Queries, populated with Spaties's query builder are not correct. Spatie's package adds table prefix for...

Fix #2409 - [ ] Update code - [ ] Add tests - [ ] Add changelog

Needs work

- Laravel-mongodb Version: 3.8 - PHP Version: 7.4 ### Description: Can't change created_at and updated_at fields ### Steps to reproduce `Model::create(['name' =>' something', 'created_at' => '2020-01-01 00:00:00', 'updated_at' => '2020-01-01...

Hi people, I try to connect with a mongoDB database server hosted on Digital Ocean. ## Context I have a Laravel app that has a MongoDB connection. I develop locally...

I am working with Laravel, where used package jenssegers/mongodb, Want to return nested column as a specific key like "review_title", but unable to use alias or write accessor, group by...

I think find out an little mistake in aggregation: _My mongo query is_ `db.project_docs.aggregate([ {"$group" : {_id:"$tag", count:{$sum:1}}} ])` _above query in package:_ `ProjectDoc->groupBy('tag')->aggregate('count',['tag'])->get();` but the result is different. In...

Needs investigation

### Is your feature request related to a problem? I have three models, say: Model A Model B Model C Model B embeds Model C in an array and Model...

Hi ✋ I think there was a need to test the firstOrCreate method in this class.

- Laravel-mongodb Version: 9 - PHP Version: 8 - Database Driver & Version: latest ### Description: ``` Schema::create('my_doc', function (Blueprint $collection) { $collection->id(); $collection->string('title')->default('test'); $collection->timestamps(); }); ``` When a record...