1
0
Fork 0
arangodb/Documentation/Examples/documentsCollectionReplaceH...

15 lines
318 B
Plaintext

arangosh> a1 = db.example.insert({ a : 1 });
{
"error" : false,
"_id" : "example/495019458",
"_rev" : "495019458",
"_key" : "495019458"
}
arangosh> a2 = db.example.replace("example/3903044", { a : 2 });
{
"error" : false,
"_id" : "example/3903044",
"_rev" : "495216066",
"_key" : "3903044"
}