Anonymous
PPrisma
•Created by Anonymous on 10/15/2024 in #help-and-questions
prisma sqlserver timeout
anyone know how to increase timeout?
i keep having (Current connection pool timeout: 10, connection limit: 3)
3 replies
PPrisma
•Created by Anonymous on 10/9/2024 in #help-and-questions
prisma/client 5.20
after i upgrade to prisma/client from 5.11 to 5.20, i have below error
prisma queryRawUnsafe error TypeError: Cannot read properties of undefined (reading 'length')
{
"status": "Internal Server Error",
"data": {
"error": {
"clientVersion": "5.11.0"
}
}
}
2 replies
PPrisma
•Created by Anonymous on 6/3/2024 in #help-and-questions
Dynamic database
is there anyway to change the database in the query?
i have tried with new PrismaClient({datasourceUrl: ''}) but seem not working, i am using sqlserver
3 replies
PPrisma
•Created by Anonymous on 5/16/2024 in #help-and-questions
Prisma extend can change db pointing to?
is there anyway change the prisma db? change under extend or new prisma, i need to for multitenant
4 replies
PPrisma
•Created by Anonymous on 4/18/2024 in #help-and-questions
Timezone error
is anyone know how to solve the timezone error in sqlserver?
when i query the data it will auto add 8 hour to datetime
2 replies
PPrisma
•Created by Anonymous on 3/28/2024 in #help-and-questions
multiSchema variable
Hi all, im trying to use .env to replace schemas value
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
schemas = ["base", "transactional"]
}
change to
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
schemas = [env("db")]
}
but i got the error Expected a string value, but received functional value
env("db").
any idea for this?11 replies