如何在Typescript中选择特定jsonb属性的COUNT(*)

时间:2019-11-21 12:57:58

标签: postgresql typescript typeorm

我该如何进行如下查询:

select count(*) from some_table where "somebody"->'property'->>'subproperty'="some_value";

例如使用count的typeorm SelectQueryBuilder的{​​{1}}?

0 个答案:

没有答案