prisma-client-go icon indicating copy to clipboard operation
prisma-client-go copied to clipboard

Add option to override db url when instantiating client

Open steebchen opened this issue 4 years ago • 0 comments

As opposed to setting/overriding it via an env var

something like

client := db.NewClient(db.WithURL("..."))

related: #166

Internal notes:

Set this QE flag

--overwrite-datasources <overwrite-datasources>
Base64 encoded datasource urls, overwriting the ones in the schema [env: OVERWRITE_DATASOURCES=]

steebchen avatar Nov 02 '21 07:11 steebchen