Re: [gnome-db] Re: libgda .... Re: GnuCash page on GO site

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).



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