is there a way to tell prisma to “include everythi...
# orm-help
c
is there a way to tell prisma to “include everything”?
r
@Charles Dimino 👋 In a relation?
c
yeah, ideally I’d like to eager load all relations without explicitly naming each relation, or if there’s some mapping available somewhere that I could iterate over that would also work
r
You need to explicitly name a relation via
include
. They will be eagerly loaded.
c
No worries, I just don’t want to keep a list of relations for each model separately. I found another way around the problem, but thanks!
👍 1