<update id="updateByIds">
update tmp
set extend= #{extend}::jsonb,
updated = now()
where id in
<foreach collection="ids" item="id" open="(" close=")" separator=",">
#{id}
</foreach>
</update>
java直接sql更新pgsql的jsonb字段
最新推荐文章于 2023-02-04 19:56:44 发布