Is it possible to use the results of a previous query in a `d1.batch` call in the next query? I'm wo

Is it possible to use the results of a previous query in a d1.batch call in the next query? I'm worried that sending a read query to find a specific row, waiting for the results in JS, and then sending a write query may end up with 2 workers trying to edit the same row.
Was this page helpful?