Skip to content

Commit eb2f67e

Browse files
authored
DOCSP-27808 Adds warning on partition fields with dots (#2755) (#2773)
* DOCSP-27808 Adds warning on partition fields with dots * Fixes per Dave
1 parent 9e4dd36 commit eb2f67e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/core/document.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ For example, given the following field in a document:
182182
- To specify the ``number`` in the ``phone`` document in the
183183
``contact`` field, use the dot notation ``"contact.phone.number"``.
184184

185+
.. warning::
186+
187+
Partition fields cannot use field names that contain a dot (``.``).
188+
185189
For examples querying embedded documents, see:
186190

187191
- :doc:`/tutorial/query-embedded-documents`

0 commit comments

Comments
 (0)