Im trying to build some html input elements via php in order to fill up rows in a postgres table.
I want to add the attribute "required" to some of the html input elements (those that correspond to the columns that have the NOT NULL constraint).
How can I know which columns have that constraint?