We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d835fd commit 1f3d320Copy full SHA for 1f3d320
docs/fundamentals/connection/connection-options.txt
@@ -387,3 +387,10 @@ perform either of the following actions:
387
.. code-block:: php
388
389
DB::connection('mongodb')->setRenameEmbeddedIdField(false);
390
+
391
+.. important::
392
393
+ We recommend using this option only to provide backwards
394
+ compatibility with existing document schemas. In new projects,
395
+ avoid using ``id`` for field names in embedded documents so that
396
+ you can maintain {+odm-long+}'s default behavior.
0 commit comments