In ArangoDB, when a collection is defined to allow user defined keys, what are the restrictions on the value of the key? For example, it appears that a key of "Name-2"
works but a key of "Name,2"
gives ArangoError 1221: invalid document key
error.
Quoting from the manual
_key
attribute from a document)a-z
(lower or upper case), the digits 0-9
or any of the following punctuation characters: _
-
:
.
@
(
)
+
,
=
;
$
!
*
'
%
Keys are case-sensitive, i.e. myKey
and MyKEY
are considered to be different keys.
Restrictions (or naming conventions) for user defined keys can be found in docs here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With