List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:September 22 2010 1:09am
Subject:Re: Need help with NULL
View as plain text  
On 9/20/2010 1:46 PM, Joseph Hesse wrote:
> // How can I test if res[i]["Age"] is NULL <== NEED HELP HERE

Untested, but:

	if (res[i]["Age"] == mysqlpp::null) { ...

or

	if (res[i]["Age"].is_null()) { ...
Thread
Need help with NULLJoseph Hesse20 Sep
  • Re: Need help with NULLWarren Young22 Sep