ibash
04/03/2021, 7:04 AMzebapy
04/03/2021, 5:32 PMJacob Mathew
04/03/2021, 5:50 PMJacob Mathew
04/03/2021, 7:50 PMSamson Ssali
04/04/2021, 2:40 AMerror: sorry, too many clients already
can i expect this in production or its a dev only bug? i know it's as a result of nextjs' fast-refresh
which only occurs in the dev environment ... but i'm just sking to be sure.Dale Watson
04/04/2021, 11:44 AMTom
04/04/2021, 12:33 PMexport const createFood = async (food: CreateFood) => {
const createdFood = await prisma.food.create({
data: food,
})
return createdFood
}
I imported it into my seed.ts with: import { createFood } from './../api/routes/foods'
And called it like this:
async function main() {
await createFood(food)
}
However if I run the seed command it never completes and always tells me Running ts-node "prisma/seed.ts" ...
I think there might be an issue with different prisma clients?manuel
04/04/2021, 1:33 PMSadananda Raj
04/05/2021, 2:46 PMSadananda Raj
04/05/2021, 2:48 PMIgor Mardari
04/05/2021, 10:55 PMNestJS + Prisma ORM + TypeScript
REST API starter
https://github.com/7codeRO/nest-prisma-rest-api-boilerplate
Please check it out! Feedback would be appreciated!Erik C
04/05/2021, 11:33 PMErik C
04/05/2021, 11:33 PMSamson Ssali
04/06/2021, 5:03 AMerror: sorry, too many clients already
Any solution out here?Justin Ellingwood
04/06/2021, 1:59 PMDale Watson
04/07/2021, 12:01 AMfindMany
in that case, do i still need elastic-search for massive query data ?Dale Watson
04/07/2021, 12:02 AMJohan
04/07/2021, 2:32 PMNatalia
Evan Jia
04/08/2021, 8:12 AMlocalhost
. I’d like to ask if there is any plan to support the use case I mentioned (point the engine endpoint url from the client and start a standalone engine), further more, I want to ask what’s the plan for NodeEngine since the napi is in preview. Do you guys want to replace the NodeEngine with NapiEngine or keep both?Mykyta Machekhin
04/08/2021, 12:30 PMprisma migrate
, I have next error. Because prisma try to apply seed before apply migrations. How I can apply migration without seeds?Natalia
William Chantry
04/08/2021, 5:25 PMselect
argument on a find
that the return type only includes the selected items? (example in thread)Nivesh Mittapally
04/09/2021, 8:30 AMgo4cas
04/09/2021, 1:09 PMJamie
04/09/2021, 7:58 PMJamie
04/09/2021, 8:01 PMAlaa Zorkane
04/09/2021, 10:33 PMargs?: Subset<T, ModelFindManyArgs>
is messing with my intellisense, anyone got the same issue?Joe
04/10/2021, 11:32 AMTushar Jain
04/10/2021, 1:36 PM