cv01
cv01
DTDrizzle Team
Created by cv01 on 12/18/2024 in #help
Is this community still active?
thanks
5 replies
DTDrizzle Team
Created by cv01 on 12/18/2024 in #help
Is this community still active?
Is there a better place to look for help? I see a ton of questions but not much engagement. Github issues, perhaps?
5 replies
DTDrizzle Team
Created by cv01 on 12/14/2024 in #help
sql.raw with params array
currently I'm resorting to using the underlaying postgres-js connection since 1. this doesn't seem possible with drizzle's magic sql thing 2. there's no way to get the underlaying postgres connection from a drizzle instance 🤦🏻‍♂️
const query = "select * from users where id = $1"
const params = [1]
postgres().unsafe(query, params as ParameterOrJSON<string>[])
const query = "select * from users where id = $1"
const params = [1]
postgres().unsafe(query, params as ParameterOrJSON<string>[])
2 replies