ID1Database.batch<T = Record<string, unknown>>(statements: readonly ID1PreparedStatement[]): Promise<readonly D1Result<T>[]>
Runs several statements as one atomic transaction. D1 exposes no
imperative BEGIN/COMMIT, so this is its unit of atomicity.
statements: readonly ID1PreparedStatement[]
The statements to run together