Some fields in one PostgreSQL table are configured with "NOT NULL".
Inside my Qt 4.3 application I try to detect this constraint, but I am trying with
But it allways returns -1 (QSqlField::Unknown).Qt Code:
// Warn user that this field must be filledTo copy to clipboard, switch view to plain text mode
If this is not the method to follow, how can PostgreSQL tell to Qt when a field has some restriction (check, not null...)?
Bookmarks