-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Laravel
-
None
-
Needed
-
Bulk upserts is a native feature of MongoDB. It must be supported by the driver.
https://laravel.com/docs/10.x/eloquent#upserts
Current error:
RuntimeException: This database engine does not support upserts. vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php:1172 vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3507 vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1084 vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23 vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2334 vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2346
- depends on
-
PHPLIB-847 Improved Bulk Write API
- Backlog
- related to
-
PHPORM-141 laravel-mongodb - Issue #2718: Need to support upsert function in Laravel 10
- Closed