The API isn't designed for Workers-style access patterns, it's an API
The API isn't designed for Workers-style access patterns, it's an API
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 ?http-api-d1-exampleConsolenpm run devRETURNING *RETURNING idError: D1_ERROR: no such table: company--d1=DB