Knex.js - A SQL Query Builder for Javascript

PHOTO EMBED

Wed Jul 21 2021 02:45:24 GMT+0000 (UTC)

Saved by @devandapaige

knex.table('users')
  .where({id: 1})
  .update({json_data: JSON.stringify(mightBeAnArray)});
content_copyCOPY

https://knexjs.org/