Re: libgdamm select returns only NULL values
- From: Murray Cumming <murrayc murrayc com>
- To: Alex Biddle <heuristic gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: libgdamm select returns only NULL values
- Date: Thu, 25 Oct 2007 17:57:15 +0200
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]