Luciano
Luciano
Explore posts from servers
DTDrizzle Team
Created by Luciano on 11/29/2024 in #help
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(sqlselect 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?
2 replies
CDCloudflare Developers
Created by Luciano on 8/3/2023 in #workers-help
Developer permissions
Hello. Is there a way to grant publishing permissions on a specific environment (DEV) to our team? I'd like to prevent production changes to be rolled out outside of our CI/CD pipeline.
2 replies