I think I'd need to see what it's doing to make a certain answer here. If you're wanting to do it from the Worker and RPC into the DO and execute SQL you could do it like this but I also can just be 0 coffee's deep this morning and misssing the question altogether