List:MySQL++« Previous MessageNext Message »
From:Michael Hanselmann Date:April 16 2007 6:53pm
Subject:Re: NULL in templatized queries
View as plain text  
Hello again

On Mon, Apr 16, 2007 at 12:58:48AM +0200, Michael Hanselmann wrote:
> struct MySQLNullString : public mysqlpp::SQLString {
>     MySQLNullString() :
>         mysqlpp::SQLString("NULL") {
>         is_string = false;
>     }
> };

I just realized this method could even be used in the MySQL++
distribution. It wouldn't require a modification of the SQLString class
at all.

Greets,
Michael

-- 
Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/

Attachment: [application/pgp-signature]
Thread
NULL in templatized queriesMichael Hanselmann16 Apr
  • Re: NULL in templatized queriesMichael Hanselmann16 Apr
  • Re: NULL in templatized queriesWarren Young17 Apr
    • Re: NULL in templatized queriesMichael Hanselmann22 Apr
      • Re: NULL in templatized queriesWarren Young23 Apr