hello, I'm working on a generic util
hello, I'm working on a generic util that takes a query and deletes all documents
this is the general idea
From what I understand, to avoid potentially running into limits, each batch should be scheduled separately, but how can I pass a query to an
interalMutation
?1 Reply
I don't think this would work, do args have to be serializable?
oh also
ctx.scheduler.runAt
returns Promise<Id<"_scheduled_functions">>
how to get the returned value of the scheduled mutation?