import { type FindAndModifyOptions } from "https://deno.land/x/mongo@v0.31.1/mod.ts";
Options for the findAndModify operation
Properties
Control the order in which documents are found. findAndModify only modifies the first document found, so controlling the sort order may ensure, that the right document is first
optional
update: UpdateFilter<T>The update to execute on the found document.
Either update or remove have to be specified