1
0
Fork 0
arangodb/Documentation/Examples/07_workWithColl_remove.gene...

19 lines
394 B
Plaintext

arangosh> db.example.remove(db.example.byExample({ name: "John Doe" }).toArray()[0]._id)
true
arangosh> db.example.toArray()
[
{
"Hello" : "World",
"_id" : "example/465695627",
"_rev" : "465695627",
"_key" : "465695627"
},
{
"age" : 31,
"name" : "Jane Smith",
"_id" : "example/466285451",
"_rev" : "466285451",
"_key" : "466285451"
}
]