summaryrefslogtreecommitdiffstats
path: root/examples/sql/sqlbrowser/browser.h
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-02-14 23:45:44 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-06 06:34:31 +0100
commit698e620aad68d702c32b62e8114fe12a7b3e2ca5 (patch)
tree9a092ddff5dac97401214b06e59eb49c44955169 /examples/sql/sqlbrowser/browser.h
parent463bd32fe5120d3954d93b6792050ac47796467f (diff)
QSqlTableModel: derive primary values from database values
Primary values are used to map a row in the model to a row in the database table. It is critically important between submitting a change and the following select (which refreshes the query) to have updated primary values. Otherwise, if the change affected the primary values, additional changes before select will misbehave. Change-Id: I5d08dd70ac5d3f06cd9d3186a439f4c80a037c2d Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'examples/sql/sqlbrowser/browser.h')
0 files changed, 0 insertions, 0 deletions