Home » U++ Library support » U++ SQL » PostgreSQL GetInsertedId()
Re: PostgreSQL GetInsertedId() [message #16690 is a reply to message #16686] |
Mon, 07 July 2008 22:15 |
|
captainc wrote on Mon, 07 July 2008 13:45 | I understand, but from the perspective of a new Upp user who sees this GetInsertedId() function while using the PostgreSQL package (with assist++ or however) and ends up smacking his head against a wall trying to get it to work correctly, when it is only there as a placeholder and always returns Null... It's just not nice.
|
I think we need to add GetInsertedId(const char* seqence) to session interface. Of course one can use currval from sqlexp but I prefer getting id through session object. If I won't find any better solution I will add this new GetInsertedId version.
|
|
|
|
|
PostgreSQL GetInsertedId()
|
|
|
Re: PostgreSQL GetInsertedId()
|
|
|
Re: PostgreSQL GetInsertedId()
By: mirek on Wed, 02 July 2008 23:17
|
|
|
Re: PostgreSQL GetInsertedId()
|
|
|
Re: PostgreSQL GetInsertedId()
By: mirek on Fri, 04 July 2008 13:49
|
|
|
Re: PostgreSQL GetInsertedId()
|
|
|
Re: PostgreSQL GetInsertedId()
By: unodgs on Mon, 07 July 2008 22:15
|
|
|
Re: PostgreSQL GetInsertedId()
By: mirek on Mon, 07 July 2008 22:17
|
|
|
Re: PostgreSQL GetInsertedId()
By: unodgs on Mon, 07 July 2008 22:46
|
|
|
Re: PostgreSQL GetInsertedId()
By: zsolt on Mon, 07 July 2008 22:49
|
|
|
Re: PostgreSQL GetInsertedId()
By: mirek on Tue, 08 July 2008 07:22
|
|
|
Re: PostgreSQL GetInsertedId()
By: zsolt on Tue, 08 July 2008 08:55
|
|
|
Re: PostgreSQL GetInsertedId()
By: zsolt on Mon, 07 July 2008 22:48
|
|
|
Re: PostgreSQL GetInsertedId()
By: mirek on Tue, 08 July 2008 15:57
|
|
|
Re: PostgreSQL GetInsertedId()
By: zsolt on Tue, 08 July 2008 16:56
|
|
|
Re: PostgreSQL GetInsertedId()
|
Goto Forum:
Current Time: Mon May 13 21:53:28 CEST 2024
Total time taken to generate the page: 0.02234 seconds
|