【发布时间】:2015-12-23 15:52:19
【问题描述】:
我想创建一个 postgres jsonb 数组:[{"score": 4500, "match": 45}, {"score": 2505, "match": 467}, {"score": 967, "match": 678}],我有单独的元素 {"score": 4500, "match": 45}, {"score": 2505, "match": 467} 等。
我不想将它分解为键值对,然后构建一个 jsonb 对象。 postgres 9.3 有办法吗?
【问题讨论】:
-
你有他们“和你在一起”是什么意思?它们是否存储在 jsonb 列中,每行一个元素或其他什么?请澄清。
标签: postgresql postgresql-9.3 jsonb