randomsort
randomsort
CDCloudflare Developers
Created by randomsort on 4/29/2024 in #workers-help
D1 example integration broken when initializing with wrangler API
I found out the issue. The code generated is not correct. Rather using unsafe bindings it should use
name = "databasename"
binding = "DATABASE"
database_id = "string of random numbers looking alot like a uuid"
name = "databasename"
binding = "DATABASE"
database_id = "string of random numbers looking alot like a uuid"
That at least solved it for me
2 replies