I'm in the mongo shell and I have to remove documents that satisfies all of these conditions together:
status: 'CO'
renewPlan: true
paymentType: 'credit_card'
gatewayPayment: 'ebanx'
Ive tried this but didnt work:
db.transactions.deleteMany({ status : "CO" } $and {renewPlan: true } $and {paymentType: 'credit_card'} $and {gatewayPayment: 'ebanx'})