is there any practical difference between doing `{...
# orm-help
p
is there any practical difference between doing
{ userId: 50 }
and
{ User: { connect: { id: 50 } } }
?
a
Hi @Perry Raskin! I don't believe there is any practical difference. The generated SQL will most likely differ, though. You can check this out for yourself by enabling query logging on the
PrismaClient
.
p
thanks!!
👍 1