【发布时间】:2021-12-07 20:14:03
【问题描述】:
我的问题是如何为条件计数编写查询。我的 Postgres 表上有一组这样的对象,即 jsonb
"instances": [
{
"type": "bbox",
},
{
"type": "bbox",
},
{
"type": "bbox",
},
{
"type": "ellipse"
}
]
我必须找到行数,例如,在实例数组中有两个以上类型等于 boxx 的对象,但使用 sequelize 运算符
【问题讨论】:
标签: javascript node.js postgresql sequelize.js