I am working on python application - can we use python connect d1 db?
I am working on python application - can we use python connect d1 db?
wrangler pages dev --compatibility-date=2023-01-01 ./pages --kv=KV --d1=DB and it cannot find my table, I have assumed the d1 binding is to my remote database? is this not the case?http-api-d1-example above, but it feels like the API should be able to do thatConsole
npm run dev working after adding D1? I'm assuming we would need to tell it to run the local db
RETURNING * to the end of the queryRETURNING id just for the id columnError: D1_ERROR: no such table: company, I have my D! config in my toml file and when I run my pages I pass --d1=DB which matches the binding name in my toml, what have I done wrong ?wrangler pages dev --compatibility-date=2023-01-01 ./pages --kv=KV --d1=DBhttp-api-d1-exampleConsolenpm run devRETURNING *RETURNING idError: D1_ERROR: no such table: company--d1=DB