You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing a local sql file on local database, I don't get status of command. Did it execute the sql file correctly or did it failed?
Sample output:
➜ d1-tutorial git:(main) ✗ npx wrangler d1 execute prod-d1-tutorial --local --file=./schema.sql
⛅️ wrangler 3.80.2
-------------------
🌀 Executing on local database prod-d1-tutorial (8e1192dc-7d2a-4628-9e6e-44b14bb976fd) from .wrangler/state/v3/d1:
🌀 To execute on your remote database, add a --remote flag to your wrangler command.
➜ d1-tutorial git:(main) ✗
Expected behavior
Even though my sql file don't have any select query, the command itself should indicate that it was able to run the sql file successfully.
Which Cloudflare product(s) does this pertain to?
D1
What version(s) of the tool(s) are you using?
10.8.2 [Wrangler]
What version of Node are you using?
20.18.0
What operating system and version are you using?
Mac Sonoma 15.0.1
Describe the Bug
Observed behavior
When executing a local sql file on local database, I don't get status of command. Did it execute the sql file correctly or did it failed?
Sample output:
Expected behavior
Even though my sql file don't have any select query, the command itself should indicate that it was able to run the sql file successfully.
Steps to reproduce
To reproduce, run the following command:
npx wrangler d1 execute prod-d1-tutorial --local --file=./schema.sql
schema.sql file:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: