Re: [gnome-db] Access to last auto_increment value (mysql_insert_id)
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Murray Cumming <murrayc murrayc com>
- Cc: adam morrison-ind com, gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Access to last auto_increment value (mysql_insert_id)
- Date: Sat, 01 May 2004 22:07:42 +0200
On Mon, 2004-04-19 at 18:00 +0200, Murray Cumming wrote:
> On Thu, 2004-04-15 at 19:06, Rodrigo Moya wrote:
> > I think I'm going to add a get_last_insert_id virtual method to the
> > GdaServerProvider, to be implemented by each provider. Anyone has any
> > objections?
>
> It sounds like a good idea, and it's probably the best way to find out
> how each provider behaves.
>
ok, this is now in CVS HEAD. I've added a 'get_last_insert_id' virtual
method to the GdaServerProvider class, and have implemented the method
for both the PostgreSQL and the MySQL providers. Other providers will
come soon.
cheers
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]