Uncaught (async) TypeError: Cannot read properties of undefined (reading 'prepare')
code:
I'm trying to insert into a table and I'm getting this error. It works I add
d1_databases
key instead of nesting it in env
.
How do I handle different database for multiple environments?1 Reply
Never mind, I forgot to add
-e dev