Matches any valid value that can be used as an input for operations like
create and update as the value of a JSON field. Unlike JsonValue, this
type allows read-only arrays and read-only object properties and disallows
null at the top level.
null cannot be used as the value of a JSON field because its meaning
would be ambiguous. Use Prisma.JsonNull to store the JSON null value or
Prisma.DbNull to clear the JSON value and set the field to the database
NULL value instead.
Matches any valid value that can be used as an input for operations like create and update as the value of a JSON field. Unlike
JsonValue
, this type allows read-only arrays and read-only object properties and disallowsnull
at the top level.null
cannot be used as the value of a JSON field because its meaning would be ambiguous. UsePrisma.JsonNull
to store the JSON null value orPrisma.DbNull
to clear the JSON value and set the field to the database NULL value instead.