79284312

Date: 2024-12-16 10:21:08
Score: 1
Natty:
Report link

Since I didn't want to add a function for something so simple I did the following:

ALTER TABLE MyTable
ALTER COLUMN MyColumn TYPE int[] USING TRANSLATE(MyColumn, '[]', '{}')::int[]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: xBlue