@@ -5,14 +5,14 @@ Documents
55
66**Documents ** in python-arango are Python dictionaries. They can be nested to
77an arbitrary depth and contain lists. Each document must have the ``"_key" ``
8- field, whose value identifies the document uniquely within a given collection.
9- There is also the ``"_id" `` field, whose value identifies the document uniquely
10- across *all * collections within a given database.
8+ field, whose value identifies the document uniquely within a collection. There
9+ is also the ``"_id" `` field, whose value identifies the document uniquely across
10+ *all * collections within a database.
1111
1212ArangoDB supports MVCC (Multiple Version Concurrency Control) and is capable
13- of storing each document in multiple revisions. The revision of a document can
14- be distinguished by the value of the ``"_rev" `` field. For more information on
15- document basics and terminologies visit this
13+ of storing each document in multiple revisions. The revision of a document is
14+ distinguished by the value of the ``"_rev" `` field. For more information on
15+ documents and their associated terminologies visit this
1616`page <https://docs.arangodb.com/HTTP/Document/AddressAndEtag.html >`__.
1717
1818Here is an example of a valid document:
@@ -28,7 +28,7 @@ Here is an example of a valid document:
2828 ' address' : {
2929 ' city' : ' Gotham' ,
3030 ' zip' : ' M1NS93' ,
31- ' street' : ' 300 Beverly St.' ,
31+ ' street' : ' 300 Beverly St.'
3232 },
3333 ' courses' : [' CSC101' , ' STA101' ]
3434 }
@@ -37,7 +37,7 @@ Here is an example of a valid document:
3737
3838**Edge documents ** or **edges ** are similar to documents but with additional
3939required fields ``"_from" `` and ``"_to" ``. The values of these fields are the
40- values of the ``"_id" `` field in the "from" and "to" vertex documents (see
40+ values of the ``"_id" `` field of the "from" and "to" vertex documents (see
4141:ref: `graphs <graph-page >` for more details). Edge documents are contained in
4242:ref: `edge collections <edge-collections >`.
4343
@@ -52,7 +52,7 @@ Here is an example of a valid edge document:
5252 ' _from' : ' students/john' ,
5353 ' _to' : ' students/jane' ,
5454 ' friends' : True ,
55- ' closeness ' : 10
55+ ' family ' : False
5656 }
5757
5858
0 commit comments