property IMongoCollectionFindOneAndUpdateOptions.returnDocument

Returns the updated document (rather than the original).

Type

"before" | "after"

Usage

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