-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Laravel
-
None
Laravel uses the property $table to customize the table name. In Laravel-MongoDB, you can use both $table or $collection for this.
We can deprecate support for $collection in v4.last and remote it in v5.
Provide a Rector rule to make the update would be easy.
For reference, we were close to a breaking change https://github.com/laravel/framework/pull/52186
https://github.com/laravel/framework/pull/52171#discussion_r1683412186
- fixes
-
PHPORM-218 Remove method MongoDB\Laravel\Connection::collection()
- Closed
There are no Sub-Tasks for this issue.