D1 seems to timeout when handling complex queries.
When using SQL runner in Nuxt Hub Devtools directly, everything runs smoothly, the request in done within 7 seconds. When trying to run the same request through Drizzle ORM, it fails with the "fetch failed" error message with stack traces of minflare's D1 driver.
1 Reply
This exact query takes around 7 seconds to run when manually launched in SQL runner. However, it times out when used in routes.