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