yeehow
yeehow
Explore posts from servers
DTDrizzle Team
Created by yeehow on 6/1/2023 in #help
Relational query erroring on workers + D1
Only able to get relation queries to work while running the worker in local mode. While running remote (--remote) or deployed it errors
[ERROR] Uncaught (in promise) Error: D1_ERROR

throw new Error("D1_ERROR", {
^
at _send
(../../../***/node_modules/wrangler/templates/d1-beta-facade.js:100:9)
[ERROR] Uncaught (in promise) Error: D1_ERROR

throw new Error("D1_ERROR", {
^
at _send
(../../../***/node_modules/wrangler/templates/d1-beta-facade.js:100:9)
To be clear .findMany() works remotely, but when adding a with it starts erroring
4 replies