Debian Codegraph @

testdata/crud/v1/write/insertOne.yml

raw
1 data:
2 - {_id: 1, x: 11}
3
4 tests:
5 -
6 description: "InsertOne with a non-existing document"
7 operation:
8 name: "insertOne"
9 arguments:
10 document: {_id: 2, x: 22}
11
12 outcome:
13 result:
14 insertedId: 2
15 collection:
16 data:
17 - {_id: 1, x: 11}
18 - {_id: 2, x: 22}