Skip to content

Executing multiple statements with D1 #575

@flostellbrink

Description

@flostellbrink

What happened?

When I try to execute multiple statements with D1 I get this error:

Query Execution Failed
Statement 1/16263 failed: Transactions are not supported by Cloudflare D1

Steps to reproduce

  1. Open a Cloudflare D1 connection
  2. Enter multiple statements in a new SQL editor
  3. Select all and hit Execute

Expected behavior

The statements should be run instead of showing an error.

Maybe as a batch: https://developers.cloudflare.com/d1/worker-api/d1-database/#batch

Database type

Cloudflare D1

TablePro version

0.27.3

macOS version & chip

macOS 26.3.1 / Apple Silicon

Screenshots / Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions