Dev__
12/14/2021, 5:05 PM.create
it seems that I cannot use the following combination
.create({
relationAId: id,
relationBId: {
connectOrCreate: ...
}
})
any reason why this isnt made possible?. TS gives me an errorMaciek K
12/14/2021, 5:16 PM@relation
for the second line:
.create({
relationAId: id,
relationB: {
connectOrCreate: ...
}
})
Dev__
12/15/2021, 7:55 AMCreateInput
(using connect
) and UncheckedCreateInput
(using id
directly)