Skip to content

Commit ad5d123

Browse files
authored
DOCSP-27808 Adds warning on partition fields with dots (#2755) (#2770)
* DOCSP-27808 Adds warning on partition fields with dots * Fixes per Dave
1 parent 3d3cfd2 commit ad5d123

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
@@ -179,6 +179,10 @@ For example, given the following field in a document:
179179
- To specify the ``number`` in the ``phone`` document in the
180180
``contact`` field, use the dot notation ``"contact.phone.number"``.
181181

182+
.. warning::
183+
184+
Partition fields cannot use field names that contain a dot (``.``).
185+
182186
For examples querying embedded documents, see:
183187

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

0 commit comments

Comments
 (0)