const h = {id: 1, attr1: "abcdef} const t = JSON.stringify(h)
// console.log("JSON being inserted =>>>>", h)
const result = await env.SMS_DEV.prepare(
"UPDATE TestTable SET history = json_insert(history, '$.history[#]', '?1') WHERE id = '?2' ",
)
.bind(h, status.id)
.run()
const h = {id: 1, attr1: "abcdef} const t = JSON.stringify(h)
// console.log("JSON being inserted =>>>>", h)
const result = await env.SMS_DEV.prepare(
"UPDATE TestTable SET history = json_insert(history, '$.history[#]', '?1') WHERE id = '?2' ",
)
.bind(h, status.id)
.run()