prisma:query db.VerificationToken.aggregate([ { $match: { $expr: { $and: [ { $and: [ { $and: [ { $and: [ { $eq: [ "$identifier", { $literal: "...", }, ], }, { $ne: [ "$identifier", "$$REMOVE", ], }, ], }, { $and: [ { $eq: [ "$token", { $literal: "55edb37ad4c3604d500feb4abf5a1c3231b9f4f2efa2f95f9feb880aae5fc80e", }, ], }, { $ne: [ "$token", "$$REMOVE", ], }, ], }, ], }, ], }, { }, ], }, }, }, { $project: { _id: 1, }, }, ])
prisma:query db.VerificationToken.aggregate([ { $match: { $expr: { $and: [ { $and: [ { $and: [ { $and: [ { $eq: [ "$identifier", { $literal: "...", }, ], }, { $ne: [ "$identifier", "$$REMOVE", ], }, ], }, { $and: [ { $eq: [ "$token", { $literal: "55edb37ad4c3604d500feb4abf5a1c3231b9f4f2efa2f95f9feb880aae5fc80e", }, ], }, { $ne: [ "$token", "$$REMOVE", ], }, ], }, ], }, ], }, { }, ], }, }, }, { $project: { _id: 1, identifier: 1, token: 1, expires: 1, }, }, ])
prisma:query db.VerificationToken.deleteMany({ _id: { $in: [ ObjectId("652188cb5cf49952dc051faf"), ], }, })
prisma:query db.VerificationToken.aggregate([ { $match: { $expr: { $and: [ { $and: [ { $and: [ { $and: [ { $eq: [ "$identifier", { $literal: "...", }, ], }, { $ne: [ "$identifier", "$$REMOVE", ], }, ], }, { $and: [ { $eq: [ "$token", { $literal: "55edb37ad4c3604d500feb4abf5a1c3231b9f4f2efa2f95f9feb880aae5fc80e", }, ], }, { $ne: [ "$token", "$$REMOVE", ], }, ], }, ], }, ], }, { }, ], }, }, }, { $project: { _id: 1, }, }, ])
prisma:query db.VerificationToken.deleteMany({ _id: { $in: [ ObjectId("652188cb5cf49952dc051faf"), ], }, })
prisma:query db.User.aggregate([ { $match: { $expr: { $and: [ { $and: [ { $and: [ { $eq: [ "$email", { $literal: "...", }, ], }, { $ne: [ "$email", "$$REMOVE", ], }, ], }, ], }, { }, ], }, }, }, { $project: { _id: 1, name: 1, tag: 1, lastTagReset: 1, bio: 1, email: 1, emailVerified: 1, password: 1, banner: 1, image: 1, role: 1, verified: 1, likedPosts: 1, followerIds: 1, followingIds: 1, }, }, ])
prisma:query db.Session.aggregate([ { $match: { $expr: { $and: [ { $and: [ { $and: [ { $eq: [ "$sessionToken", { $literal: "d1aedcd2-7a9d-4ba9-abea-f4bfad5f0ec2", }, ], }, { $ne: [ "$sessionToken", "$$REMOVE", ], }, ], }, ], }, { }, ], }, }, }, { $project: { _id: 1, sessionToken: 1, userId: 1, expires: 1, }, }, ])
prisma:query db.VerificationToken.aggregate([ { $match: { $expr: { $and: [ { $and: [ { $and: [ { $and: [ { $eq: [ "$identifier", { $literal: "...", }, ], }, { $ne: [ "$identifier", "$$REMOVE", ], }, ], }, { $and: [ { $eq: [ "$token", { $literal: "55edb37ad4c3604d500feb4abf5a1c3231b9f4f2efa2f95f9feb880aae5fc80e", }, ], }, { $ne: [ "$token", "$$REMOVE", ], }, ], }, ], }, ], }, { }, ], }, }, }, { $project: { _id: 1, identifier: 1, token: 1, expires: 1, }, }, ])
prisma:query db.User.aggregate([ { $match: { $expr: { $and: [ { $in: [ "$_id", [ { $literal: ObjectId("6387a6701ea31d5d5394e144"), }, ], ], }, { $ne: [ "$_id", "$$REMOVE", ], }, ], }, }, }, { $project: { _id: 1, name: 1, tag: 1, lastTagReset: 1, bio: 1, email: 1, emailVerified: 1, password: 1, banner: 1, image: 1, role: 1, verified: 1, likedPosts: 1, followerIds: 1, followingIds: 1, }, }, ])