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