© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•15mo ago•
1 reply
Luciano

drizzle queries won't resolve

Guys, I am completely stuck with something after upgrading my drizzle-orm libraru version.

This is the code I am testing:

import type { DrizzleConfig } from 'drizzle-orm';
import { drizzle } from 'drizzle-orm/node-postgres';
import { Pool } from 'pg';

...
const pool = new Pool({ connectionString: ctx.env.dbUrl })
// testing direct connect
const client = await pool.connect()
const result = await client.query('select 2')
console.log(result) // That works

const db = drizzle(pool, { schema, logger: true })

await db.execute(sql
select 1
select 1
) // that just get stuck forever and won't resolve, no errors. It logs the query though.

This is inside a cloudflare worker function, so this is unfortunately pretty hard to debug.

I am using "pg": "^8.13.1", and "drizzle-orm": "^0.35.1". I tried 0.36 and the problem is the same. Does anyone had an issue like this before or know what hint I should follow?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Drizzle Queries in Drizzle Studio
Drizzle TeamDTDrizzle Team / help
3y ago
Drizzle-kit studio won't open
Drizzle TeamDTDrizzle Team / help
2y ago
Dynamic Drizzle Relational Queries
Drizzle TeamDTDrizzle Team / help
3y ago
Unable to resolve "drizzle-seed"
Drizzle TeamDTDrizzle Team / help
15mo ago