Arthur
Explore posts from serversDTDrizzle Team
•Created by Arthur on 2/6/2025 in #help
using rqb with pgSchema
Trying to use rqb to access table within my "auth" postgres schema, but it seems that rqb hit the public schema
I can access db.query.member even if member is within auth schema, definied with auth.table("member" , ...)
Is there anything I'm missing ? difficult to find infos on how to perform query in this case on the doc
4 replies
DTDrizzle Team
•Created by Arthur on 12/4/2024 in #help
Latest drizzle-orm 0.37.0 break drizzle-zod
Everything working fine with 0.36.4, but with latest got type compatibility issue between exported drizzle schema and drizzle-zod createInsert/SelectSchema
Type Mismatch: Trying to use a PgTableWithColumns (PostgreSQL-specific table) where a generic Table type is expected.
Column Type Incompatibility: The specific issue is with the column types:
Used: PgColumn (PostgreSQL-specific column type)
Expected: Column (generic column type)
Record Type Mismatch: The columns property is expecting a Record<string, Column> but receiving a Record<string, PgColumn>
2 replies