What Does '?' Mean When Defining Prisma Schema Model?

5.6k Views Asked by At

In this example, we see:

name String?

Not completely sure on what the ? signifies here...

1

There are 1 best solutions below

2
On BEST ANSWER

This means in DB. This field can be null. It's optional.