Re: libgdamm select returns only NULL values



On Wed, 2007-10-24 at 20:30 +0100, Alex Biddle wrote:
> Hi,
> 
> I want to use libgdamm as part of a Gtkmm application, but can't get
> some tests to work.
> 
> I've created an SQLite database, and can connect to it fine. However
> when I issue my SELECT query, and use the resulting model to display
> the resultset via std::cout, it only returns NULL.
> 
> Output [annotations]:
> NULL [from value.to_string()]
> 
> id   | numbers [from model->dump_as_string()]
> -----+--------
> NULL | NULL
> NULL | NULL
> NULL | NULL
> NULL | NULL
> 
> Apologies if this isn't the correct place to ask.

I have never used dump_as_string(). Do you have more luck when modifying
one of the examples in the libgdamm tarball?

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]