☰
Debian Codegraph
@
1.17.9+ds1-1
/
/
testdata
/
crud
/
v1
/
write
/
insertOne.yml
☽
☼
testdata/crud/v1/write/insertOne.yml
code
plain
raw
Apache-2.0
2017-present MongoDB, Inc.
debian/copyright
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}