method Collection.prototype.updateOneimport { Collection } from "https://deno.land/x/mongo@v0.33.0/src/collection/mod.ts"; updateOne(filter: Filter<T>,update: UpdateFilter<T>,options?: UpdateOptions,): Promise<{ upsertedId: ObjectId | undefined; upsertedCount: number; matchedCount: number; modifiedCount: number; }>Update a single document matching the given filter Parametersfilter: Filter<T>The query used to match the document update: UpdateFilter<T>The update to apply to the document optionaloptions: UpdateOptionsAdditional options for the operation ReturnsPromise<{ upsertedId: ObjectId | undefined; upsertedCount: number; matchedCount: number; modifiedCount: number; }>The number of documents matched, modified, and upserted