You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/en/userGuide/schema/add-fields-to-an-existing-collection.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -331,9 +331,9 @@ Expected behavior:
331
331
332
332
## FAQ
333
333
334
-
### Can I enable dynamic schema functionality by adding a `#meta` field?
334
+
### Can I enable dynamic schema functionality by adding a `$meta` field?
335
335
336
-
No, you cannot use `add_collection_field` to add a `#meta` field to enable dynamic field functionality. For example, the code below will not work:
336
+
No, you cannot use `add_collection_field` to add a `$meta` field to enable dynamic field functionality. For example, the code below will not work:
337
337
338
338
<divclass="multipleCode">
339
339
<a href="#python">Python</a>
@@ -400,7 +400,7 @@ To enable dynamic schema functionality:
400
400
401
401
### What happens when I add a field with the same name as a dynamic field key?
402
402
403
-
When your collection has dynamic field enabled (`#meta` exists), you can add static fields that have the same name as existing dynamic field keys. The new static field will mask the dynamic field key, but the original dynamic data is preserved.
403
+
When your collection has dynamic field enabled (`$meta` exists), you can add static fields that have the same name as existing dynamic field keys. The new static field will mask the dynamic field key, but the original dynamic data is preserved.
404
404
405
405
To avoid possible conflicts in field names, consider the name for the field to add by referring to existing fields and dynamic field keys before actually adding it.
406
406
@@ -575,7 +575,7 @@ Expected behavior:
575
575
576
576
-**New entities** must use the static field's data type (`INT64`)
577
577
578
-
-**Original dynamic field key values** are preserved and accessible via `#meta` syntax
578
+
-**Original dynamic field key values** are preserved and accessible via `$meta` syntax
579
579
580
580
-**The static field masks the dynamic field key** in normal queries
0 commit comments