Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
When a QSqlRecord is generated either with a tablename or from a QSqlQuery then it should have any default values set as a value already unless it is for a row that exists in which case it would take the already available value. This means that if it is used for an insert query it will have a valid value set to avoid null being set by accident due to the fact it is a generated field.