D1 Database Binding Issue
XPost from https://discord.com/channels/595317990191398933/992060581832032316/1143238202895908925
im on wrangler 3.5.1
TLDR
Ive created a binding named
DB
but all the env contains is __D1_BETA_DB
that does not act like a db.
Ive tried removed bindings, re-added, re-deployed still getting the same behavior:
__D1_BETA_
is being added as a prefix in the environment, but not binding named DB
I tried to reference that variable __D1_BETA_DB, but it tells me that there is no function prepare on it.
im expecting (and this was previous behavior) that a DB variable is hanging on the env that i can call prepare on.1 Reply