Postgresql – How to count elements inside a text field
In my PostgreSQL DB, I have a table with a field of the type text which contains a string like this: |ABX1-001|ABX1-002|ABX1-004|ABX1-005| I would like to count the items inside the text field current_ids. This is the structure of the…