Join Slack
Powered by
Is it possible to set those query param options ou...
# orm-help
p
Patrick
06/03/2021, 10:54 AM
Is it possible to set those query param options outside connection URL? For example as separate variable in prisma.schema file?
r
Ryan
06/03/2021, 10:56 AM
Not in the
schema.prisma
but you can set it dynamically when you initialise
PrismaClient
like
this
.
p
Patrick
06/03/2021, 10:58 AM
Oh nice, that should do it. Thanks!
💯 1
j
janpio
06/03/2021, 6:05 PM
Setting in the schema owuld make a nice feature request though.
Open in Slack
Previous
Next