Alaskan donut
Explore posts from serversPPrisma
•Created by Alaskan donut on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
It is not, but if you shoot me your github email I can share it with you. Currently I am using Neon until I can resolve this.
8 replies
PPrisma
•Created by Alaskan donut on 12/9/2024 in #help-and-questions
TypedSQL failing during build step
TypeScript is
"^5"
, prisma and prisma client are both "^6.0.1"
The console appears to give no insight into this specific issue post-linting:
4 replies
PPrisma
•Created by Alaskan donut on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
Are there any resources on debugging this?
8 replies
PPrisma
•Created by Alaskan donut on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
8 replies
PPrisma
•Created by Alaskan donut on 12/6/2024 in #help-and-questions
Error P1012 when trying to use Prisma Postgres
These are the two keys Prisma Postgres provides me during setup. I have no other keys that might conflict.
8 replies
PPrisma
•Created by Papa Smerf on 9/12/2024 in #help-and-questions
Selecting random records from table
I'm really hoping Prisma will support random queries at some point...
Here is an extension that achieves this: https://github.com/nkeil/prisma-extension-random. I haven't used this yet, but it's worth looking into.
5 replies
PPrisma
•Created by Alaskan donut on 8/28/2024 in #help-and-questions
Complicated groupBy query
Hey Jon, your query worked well. I modified it return the structure I needed:
Here is the TypeScript that I used to merge the query into another posts query. This isn't procedure isn't necessary, since this could be handled with a single query, but I will deal with this later. Thanks again!
7 replies
PPrisma
•Created by Alaskan donut on 8/28/2024 in #help-and-questions
Complicated groupBy query
Thank you, @Jon Harrell! I greatly appreciate this.
7 replies
PPrisma
•Created by Alaskan donut on 8/28/2024 in #help-and-questions
Complicated groupBy query
7 replies
PPrisma
•Created by Alaskan donut on 6/6/2024 in #help-and-questions
Flat response from relational query?
If I have no choice but to manually flatten, I will just use a map function on the array.
4 replies