Do we represent json that is array first as `Json[...
# orm-help
r
Do we represent json that is array first as
Json[]
type or
Json
and just shove in
[{key:value}, ...]
into it? Ideally i'd like to be able to do
jsonField.map((item) => ...)
in my code.
👀 1
It seems like the docs specify using utility classes here
Prisma.JsonArray
and label the field as
Json
? Trying to figure out why I wouldn't just go with
Json[]
instead?