[Qt-interest] Null values for primitive types using QSql....
Scott Bloom
scott.bloom at onshorecs.com
Fri Jul 16 09:55:23 CEST 2010
Using Qvariant() works for MSSQL, MSAccess (both via ODBC) as well as SQLite
for inserting null values
Scott
On 7/15/10 11:32 PM, "slayer81 at gmx.de" <slayer81 at gmx.de> wrote:
> Hello,
>
> I wonder if there's a way to wrap primitive types like "double" and "int", so
> that they can hold NULL values. Are there any Qt inbuilt classes yet? Or do we
> have to use QVariant?
>
> I need this for filling database columns with NULL values using the QSql....
> classes.
>
> Thank you for your time,
> Paule
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list