随笔分类 - 技术学习
摘要:若要在已分区表上创建unique或primary key约束,分区键必须不包含任何表达式或函数调用,并且约束的列必须包含所有分区键列。存在此限制是因为组成约束的各个索引只能在其自己的分区内直接强制唯一性;因此分区结构本身必须保证在不同分区中不存在重复 ``` CREATE TABLE trackin
阅读全文
摘要://查询时间偏移 select * from coiner where created_at + interval '8 hour' > '2023-01-13 00:00:00' //jsonb 查询 attribute.Award.type = 'ttc' attribute -> 'Award
阅读全文
摘要:数组函数:https://www.postgresql.org/docs/14/functions-array.html 表结构: ``` --审批流 create table approve_workflow ( id bigserial primary key, name varchar(255
阅读全文

浙公网安备 33010602011771号