5556b4c4fcf9336abf0000de/app-root/runtime/repo/server.js:99:32)var spec = {'_id': new BSON.ObjectID(req.params.id)}; var mongodb = require("mongodb");
var BSON =
我正在尝试创建一个cron,每月运行一次,以更新带有postgres数据库的ndoe应用程序中的jsonb字段的一些键。在我的数据库中,我有一个包含"disk_alert“、"temepratures_alert”、"consumptions_alert“等键的jsonb字段,我想做一些类似的事情UPDATEdevices SET
data=jsonb_set(dat