Skip to content

DOCSP-42956: Remove $collection support #3138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 10, 2024
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ This library version introduces the following breaking changes:
of this behavior, you cannot have two separate ``id`` and ``_id`` fields in your
documents.

- Removes support for the ``$collection`` property and associated methods.
The following list contains the removed methods and provides alternative methods
that you can use to replace the functionality:

- ``DB::collection()``: use ``DB::table()``
- ``Schema::collection()``: use ``Schema::table()``

.. _laravel-breaking-changes-v4.x:

Version 4.x Breaking Changes
Expand Down
Loading