The options for a generic insertOne command performed on the Data API.
insertOne
const result = await collection.insertOne({ name: 'John', age: 30,}, { timeout: 10000,}); Copy
const result = await collection.insertOne({ name: 'John', age: 30,}, { timeout: 10000,});
Overview
The options for a generic
insertOne
command performed on the Data API.