My question in <#CKQTGR6T0|prisma2> got archived, ...
# orm-help
j
My question in #prisma2 got archived, so I'll ask it here now. Is there a way to have optional lists? I saw a while back that it was under discussion. It seems silly that it wouldn't be possible. My use case is: company is a model, that may or may not be hosting an event. Event is another model. A company can have many events or none.
r
@Jack 👋 This is still possible where a company may or may not have events. It will return an empty result (
[]
) if there are no events.