I am trying to create a query that will give me accounts that was created before a certain future date. I would like delete those account that were created 30 days before that future date. I am not sure how to write that range. Currently I have a query that gives me account that was created 30 days before today.
range: {
updatedAt: {
lte: "now-2592000/s",
},
},
Some guidance will be highly appreciated.