On Sun, Mar 20, 2011 at 08:23:50PM +0300, Dmitriy Igrishin wrote:
> Hey Kurt,
> 
> 2011/3/20 Kurt Roeckx <[email protected]>
> 
> > Hi,
> >
> > I was wondering how I could check that a value in the database is
> > not filled in.  Looking at Wt::Dbo::SqlStatement I see that
> > getResult() can return that it's NULL by returning false.  But
> > I currently don't see a way how I could use this in my
> > application, or even what would happen to the value in case it's
> > NULL in the database.
> >
> AFAIK you may use boost::optional<> to work with NULL
> values in Wt::Dbo.

I seem to have missed that part, thanks.


Kurt


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to