arangosh> a1 = db.example.insert({ a : 1 });
{
"_id" : "example/15059",
"_key" : "15059",
"_rev" : "_V_qEd1a---"
}
arangosh> a2 = db.example.replace(a1, { a : 2 });
{
"_id" : "example/15059",
"_key" : "15059",
"_rev" : "_V_qEd1e---",
"_oldRev" : "_V_qEd1a---"
}
arangosh> a3 = db.example.replace(a1, { a : 3 });
[ArangoError 1200: precondition failed]