Junior-Web-Dev
05/12/2022, 2:29 AMawait prisma.$queryRawUnsafe`UPDATE table SET template_json_data = jsonb_set(template_json_data, '{namingConvention}', '"${String(req.body.projectName)}"', false) WHERE save_id = ${Number(req.body.saveId)}`;Junior-Web-Dev
05/12/2022, 2:31 AMUPDATE table SET template_json_data = jsonb_set(template_json_data, '{namingConvention}', '"New info to be updated"', false) WHERE save_id = 22Nurul
05/12/2022, 7:54 AM@prisma/client version 3.14.0?
We have made some improvements in queryRaw.
Here are the release notes 3.14.0 which describes how you could enable it.
Also, which database are you using?
You might need to add schema name before the table name, can you do that and check?