Type alias GenericInsertOneOptions

GenericInsertOneOptions: WithTimeout<"generalMethodTimeoutMs">
Overview

The options for a generic insertOne command performed on the Data API.

Example

const result = await collection.insertOne({
name: 'John',
age: 30,
}, {
timeout: 10000,
});

See

  • CollectionInsertOneOptions
  • TableInsertOneOptions