Join Slack
Powered by
What is best way to handle connecting to nodes whe...
# prisma-whats-new
h
huv1k
01/12/2018, 12:56 PM
What is best way to handle connecting to nodes when i can have id or not? I come up with this:
Copy code
thumbnail: thumbnailId ? { connect: { id: thumbnailId } } : null
Open in Slack
Previous
Next