当前位置:网站首页>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
边栏推荐
- Fast development board pinctrl and GPIO subsystem experiment for itop-imx6ull - modify the device tree file
- Some principles of mongodb optimization
- 【面试高频题】难度 2.5/5,简单结合 DFS 的 Trie 模板级运用题
- ESP32构解工程添加组件
- How to make join run faster?
- 【堡垒机】云堡垒机和普通堡垒机的区别是什么?
- [Presto profile series] timeline use
- Cmake learning and use notes (1)
- Use of polarscatter function in MATLAB
- Esp32 ① compilation environment
猜你喜欢
随机推荐
Esp32 series column
Mongodb command summary
Signal strength (RSSI) knowledge sorting
JNA learning notes 1: Concepts
QQ medicine, Tencent ticket
How far can it go to adopt a cow by selling the concept to the market?
Custom thread pool rejection policy
xshell连接服务器把密钥登陆改为密码登陆
High end for 8 years, how is Yadi now?
一文读懂数仓中的pg_stat
[1] Basic knowledge of ros2 - summary version of operation commands
交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)
JS缓动动画原理教学(超细节)
云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
JS determines whether an object is empty
1、深拷贝 2、call apply bind 3、for of for in 区别
Pcap learning notes II: pcap4j source code Notes
【堡垒机】云堡垒机和普通堡垒机的区别是什么?
华为镜像地址
SSRF漏洞file伪协议之[网鼎杯 2018]Fakebook1