arangosh> db.example.save({ Hello : "world", foo : "bar" });
{
"_id" : "example/6608",
"_key" : "6608",
"_rev" : "_Yf1Mwn6--_"
}
arangosh> db.example.updateByExample({ Hello: "world" }, { Hello: "foo", World: "bar" }, false);
1
arangosh> db.example.byExample({ Hello: "foo" }).toArray()
[
{
"_key" : "6608",
"_id" : "example/6608",
"_rev" : "_Yf1MwoC--_",
"Hello" : "foo",
"foo" : "bar",
"World" : "bar"
}
]