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

5.5k views Asked by At

In this example, we see:

name String?

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

1

There are 1 answers

2
Ahmed Elywa On BEST ANSWER

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