Destructuring array in postgres

前端 未结 0 1740
南笙
南笙 2020-12-12 01:28

Does postgres allow array destructuring, e.g:

-- Assuming all table rows have arrays of {int, int}
SELECT x[1], x[2] from table x; -- this works

-- How to do         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题