8000 Updated the documentation for arrayindexing with subattributes · jameswei/arangodb@0869a4d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0869a4d

Browse files
committed
Updated the documentation for arrayindexing with subattributes
1 parent e9b858d commit 0869a4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/Books/Users/IndexHandling/IndexBasics.mdpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ The following query will then use the array index:
307307
FILTER 'foobar' IN doc.tags[*].name
308308
RETURN doc
309309

310+
If you store a document having the array which does contain elements not having
311+
the subattributes this document will also be indexed with the value `null`, which
312+
in ArangoDB is equal to attribute not existing.
313+
310314
ArangoDB supports creating array indexes with a single <i>[\*]</i> operator per index
311315
attribute. For example, creating an index as follows is not supported:
312316

0 commit comments

Comments
 (0)
0