how to get col names from a postgres db code example
Example: postgres get columns names
SELECT *
FROM information_schema.columns
WHERE table_name = 'your_table'
;
SELECT *
FROM information_schema.columns
WHERE table_name = 'your_table'
;