Prisma · Function
Prisma.join
Use include to read related records in the same Prisma query. Prisma supports one-to-one, one-to-many, and many-to-many relations, plus relation filters on PostgreSQL.
Last updated
Syntax
.include(relation)
.where(relationFilter)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
includewheresomenoneeveryconnectdisconnectcreate