Skip to content

Commit

Permalink
save bulk-write file
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelatkinson committed May 10, 2024
1 parent 5437180 commit 5559309
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/crud/bulk-write.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ operation should be performed as its value. The documents have the following for

#### Insert

```json
```javascript
{
"insert": <Int32>,
"document": <Document>
Expand All @@ -504,7 +504,7 @@ If the document to be inserted does not contain an `_id` field, drivers MUST gen

#### Update

```json
```javascript
{
"update": <Int32>,
"filter": <Document>,
Expand All @@ -518,7 +518,7 @@ If the document to be inserted does not contain an `_id` field, drivers MUST gen

#### Delete

```json
```javascript
{
"delete": <Int32>,
"filter": <Document>,
Expand All @@ -533,7 +533,7 @@ If the document to be inserted does not contain an `_id` field, drivers MUST gen
The `nsInfo` field is an array containing the namespaces on which the write operations should be performed. Drivers MUST
NOT include duplicate namespaces in this list. The documents in the `nsInfo` array have the following format:

```json
```javascript
{
"ns": <String>
}
Expand Down Expand Up @@ -659,7 +659,7 @@ Drivers MUST return an error if there is not room to add at least one operation

The server's response to `bulkWrite` has the following format:

```json
```javascript
{
"ok": <0 | 1>,
"cursor": {
Expand Down Expand Up @@ -690,7 +690,7 @@ command for each `getMore` call. When connected to a load balancer, drivers MUST

The documents in the results cursor have the following format:

```json
```javascript
{
"ok": <0 | 1>,
"idx": Int32,
Expand Down

0 comments on commit 5559309

Please sign in to comment.