Re: [gnome-db] Re: libgda .... Re: GnuCash page on GO site
- From: Laurent Sansonetti <lrz gnome org>
- To: Dru <andru treshna com>
- Cc: Linas Vepstas <linas linas org>, gnome-db-list gnome org
- Subject: Re: [gnome-db] Re: libgda .... Re: GnuCash page on GO site
- Date: Sun, 07 Mar 2004 13:31:52 +0000
On Sun, 2004-03-07 at 21:47, Dru wrote:
> libdbi is missing same features as libgda. ie. getting last id of
> inserted record and been able to get detailed field attributes.
gda_connection_execute_non_query (which should be used to execute
non-query commands, like insertions in this case) returns the number of
rows affected by the command. So even if there is apparently no direct
way to get the last ID, it is possible by using some additional magic
after the call.
gda_data_model_describe_column can be used to describe a specific column
on a specific datamodel (`SELECT * FROM foo' as an example).
Cheers,
--
Laurent
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]