Interface ClientInsertOneModel<TSchema>

interface ClientInsertOneModel<TSchema> {
    document: OptionalId<TSchema>;
    name: "insertOne";
    namespace: string;
}

Type Parameters

  • TSchema

Hierarchy (view full)

Properties

document: OptionalId<TSchema>

The document to insert.

name: "insertOne"
namespace: string

The namespace for the write.

A namespace is a combination of the database name and the name of the collection: <database-name>.<collection>. All documents belong to a namespace.