What is best way to handle connecting to nodes whe...
# prisma-whats-new
h
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