interface IMongoCollectionFindOneAndUpdateOptions
Since 0.1.0

The native driver findOneAndUpdate options the adapter passes through.

Properties

returnDocument: "before" | "after"

Returns the updated document (rather than the original).

The session a transaction-scoped operation runs under.

Usage

import { type IMongoCollectionFindOneAndUpdateOptions } from "database-plugin/src/index.ts";