Skip to content

About

Filter Many-to-many "every" generates strange queries and returns garbage?

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

when using "every" on many-to-many relation, query and returned data are wrong

Bug report

prisma/orm#6441

How to run

Use docker-compose to run, the entrypoint is mapped to npm run build:run, which installs dependencies, generates prisma client, migrates database and runs the app

The init script (packages.json - scripts) includes:

  • npm ci
  • npx prisma generate
  • npx prisma migrate dev -n init
  • npx ts-node app.ts

It means the startup is a bit slow, since it always runs all these, but you don't have to fiddle with anything else

Docker creates 2 containers - postgres database from alpine image and a node image which uses host binds to add the project folder inside

About

Filter Many-to-many "every" generates strange queries and returns garbage?

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages