how many connections do bulk queries eat up?

hi, is it safe to assume that since bulk queries are done in a transaction, that only one db connection will be taken up by the query? (as opposed to, for example, doing a bunch of individual inserts and promise.all'ing them). https://www.prisma.io/docs/orm/prisma-client/queries/query-optimization-performance#using-bulk-queries
Query optimization | Prisma Documentation
How Prisma optimizes queries under the hood
1 Reply
Nurul
Nurul5mo ago
Yes, that's my understanding as well. All queries within a single database transaction typically happen on the same database connection.
Want results from more Discord servers?
Add your server