List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:April 30 2010 6:42am
Subject:Re: create a Null field
View as plain text  
On 4/29/2010 11:21 PM, Andrej van der Zee wrote:
>
>     mysqlpp::Null<mysqlpp::sql_int_unsigned>  db_host_id(0);
>      if (h)
>        db_host_id.data = h->_db_host_id;
>      else
>        db_host_id.is_null = true;

db_host_id = h ? h->_db_host_id : mysqlpp::null;
Thread
create a Null fieldAndrej van der Zee30 Apr
  • Re: create a Null fieldWarren Young30 Apr
    • Re: create a Null fieldAndrej van der Zee30 Apr
      • Re: create a Null fieldWarren Young30 Apr