arangosh> db.example.insert({"a" : 1});
{
"_id" : "example/15687",
"_key" : "15687",
"_rev" : "15687"
}
arangosh> db.example.update("example/19988371",
........> { "b" : null, "c" : null, "d" : 3 });
{
"_id" : "example/19988371",
"_key" : "19988371",
"_rev" : "15690",
"_oldRev" : "15683"
}
arangosh> db.example.document("example/19988371");
{
"_key" : "19988371",
"_id" : "example/19988371",
"_rev" : "15690",
"d" : 3,
"c" : null,
"b" : null
}
arangosh> db.example.update("example/19988371", { "a" : null }, false, false);
{
"_id" : "example/19988371",
"_key" : "19988371",
"_rev" : "15694",
"_oldRev" : "15690"
}
arangosh> db.example.document("example/19988371");
{
"_key" : "19988371",
"_id" : "example/19988371",
"_rev" : "15694",
"b" : null,
"c" : null,
"d" : 3
}
arangosh> db.example.update("example/19988371",
........> { "b" : null, "c": null, "d" : null }, false, false);
{
"_id" : "example/19988371",
"_key" : "19988371",
"_rev" : "15698",
"_oldRev" : "15694"
}
arangosh> db.example.document("example/19988371");
{
"_key" : "19988371",
"_id" : "example/19988371",
"_rev" : "15698"
}