Yes, every document has two non-optional attributes:

   - _key  -  ex: _key: "1234"
   - _id  -  ex: _id: "myCollection/1234"

Both _id and _key are strings, and the value of _id is the collection name
plus the _key, concatenated with a forward-slash.

All document collections have non-alterable indexes that cover these
attributes.

All edge collections also have required properties:

   - _from  -  ex: from: "myCollection/123"
   - _to  -  ex: _to: "myCollection/abc"

All edge collections have non-alterable indexes that cover these attributes
as well.


On Wed, Aug 26, 2020 at 12:31 PM Marcela Guerrero <
marcelaguerrero1...@gmail.com> wrote:

> Has ArangoDb primary composed key?
>
> --
> You received this message because you are subscribed to the Google Groups
> "ArangoDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to arangodb+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/arangodb/dbe5b8de-0781-4cd0-9366-969355276602n%40googlegroups.com
> <https://groups.google.com/d/msgid/arangodb/dbe5b8de-0781-4cd0-9366-969355276602n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/CANR2gX18%3Dsd62GRRcGPrRMebq%2BSeBOFBHA1HhiUwFdu7xa6P%2Bw%40mail.gmail.com.

Reply via email to