how can i add 2 new json fields to an already exis...
# orm-help
h
how can i add 2 new json fields to an already existing json to send with data: {} in a query?
r
@Halvor 👋 Currently you need to fetch the value first and then update. It would be great if you could add a 👍 to this request so that we can look into the priority for this.
h
you mean i have to rebuild the json beforehand?
I as not talking about json in the database but the json part of the "data" section of a prisma query.
r
I didn’t quite get your point. Could you show by an example?
h
i guess i can add to the json object passed to prisma's create() function beforehand.