当前位置:网站首页>PostgreSQL array type, each splice
PostgreSQL array type, each splice
2022-07-07 13:38:00 【Xiaodou whole sugar (Cx)】
If there is such case
Field test_array_concat yes array type , The data are as follows
{
2022,2023}
Now I want to change it to
{
2022.xml,2023.xml}
It can be as follows
update test set test_array_concat=(select array(select unnest(test_array_concat)||'1.xml' from test where id=294662523385290759)) where voucher_id=294662523385290759;
among
unnest Will array Expand into rows , After splicing, it is converted into array that will do
边栏推荐
猜你喜欢
随机推荐
[dark horse morning post] Huawei refutes rumors about "military master" Chen Chunhua; Hengchi 5 has a pre-sale price of 179000 yuan; Jay Chou's new album MV has played more than 100 million in 3 hours
Ways to improve the performance of raspberry pie
LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)
作战图鉴:12大场景详述容器安全建设要求
JS缓动动画原理教学(超细节)
.net core 关于redis的pipeline以及事务
php——laravel缓存cache
Esp32 ① compilation environment
Indoor ROS robot navigation commissioning record (experience in selecting expansion radius)
LeetCode简单题分享(20)
如何让join跑得更快?
Realize the IP address home display function and number home query
Mongodb meets spark (for integration)
Flink | multi stream conversion
[learning notes] segment tree selection
2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天
JS function returns multiple values
Split screen bug notes
move base参数解析及经验总结
postgresql array类型,每一项拼接



![供应链供需预估-[时间序列]](/img/2c/82d118cfbcef4498998298dd3844b1.png)





