Re: [gnome-db] Access to last auto_increment value (mysql_insert_id)

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.


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