[Qt-interest] How to retreive a value in relational sql model?
Yevgen Yashchenko
lester.dev at gmail.com
Thu Dec 3 07:03:44 CET 2009
You see the rows in the table1 don't exactly match the appropriate rows in
the table2. For example the first row in table1 can hold a key to the row 12
in the table2, so just use of index.row() is insufficient. How this
situation is beaten?
2009/12/2 jjDaNiMoTh <jjdanimoth at gmail.com>
> My approach is retrieve value from columnId ( which I know ) at the
> row pointed out by the mapped value.
>
> There are many ways to implement this, but I don't know if there are
> better strategies.
>
> --
> Key Fingerprint
> 4588 F931 A6E7 C7D5 A302 3064 12EB E87F 9B28 A9D2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091203/151d440a/attachment.html
More information about the Qt-interest-old
mailing list