Skip to content

Commit

Permalink
Add findOneAndReplace, deleteOne, deleteMany and replaceOne
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Jan 25, 2024
1 parent dd13513 commit 6271917
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/src/integrations/MongoDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,13 @@ const OPERATIONS = [
"find",
"findOne",
"findOneAndUpdate",
"findOneAndReplace",
"findOneAndDelete",
"deleteOne",
"deleteMany",
"updateOne",
"updateMany",
"replaceOne",
] as const;

type Operation = (typeof OPERATIONS)[number];
Expand Down

0 comments on commit 6271917

Please sign in to comment.