Skip to content

Commit

Permalink
doc: add export mode to the README example
Browse files Browse the repository at this point in the history
  • Loading branch information
j33ty committed Jul 22, 2024
1 parent e57aea0 commit 6d74550
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ exportDataset({

// Run 12 concurrent asset downloads
assetConcurrency: 12,

// What mode to use when exporting documents, can be eiter `stream`(default) or `cursor`.
// Cursor mode might help when dealing with large datasets, but might yield inconsistent results if the dataset is mutated during export.
// Default: 'stream'
mode: 'stream',
})
```

Expand Down

0 comments on commit 6d74550

Please sign in to comment.