On 19 September 2012 10:40, André Somers <[email protected]> wrote:
>
> Just a bit of syntactic sugar, of course, but nice. I do think there are
> some problems with error checking though. What happens if "MyColumnName"
> doesn't contain an int but a string in the above call?

The same that would happen with
query.value("MyColumnName").value<int>(), I guess :-)

-- 
Giuseppe D'Angelo
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to