-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi mike,

i have installed the 0.3.9 from svn, and now it's returning the primary
key values of the last inserted record, as documented, even if those are
not numeric.

thanks a lot!

though i'm on a well packaged debian system, i have a lib deirectory
ahead of PYTHONPATH for last minute functionality as this.

could i make the sqlalchemy subdirectory updateable by svn, or should i
re-egg the updated package after every significant change?

best regards an thanks again,

alex

Michael Bayer wrote:
> 
> On Jul 8, 2007, at 2:59 PM, alex bodnaru wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> hello,
>>
>> i was following this thread with interest, and found that
>> last_inserted_ids returns the oid of the inserted record.
>>
>> can i portably retrieve a record by this oid?
>>
> 
> no.  it does not return OID, it returns whatever was last inserted as  
> a primary key value.  in the case of mysql as well as sqlite tables  
> which have an integer primary key, its synonymous with "OID" on those  
> databases.  but this is an implementation detail of those particular  
> databases.
> 
> 
> 
> > 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRpIwQNpwN1sq38njAQKbIQP+NCkq0Xog6fvhWg8tPlBasickCvliTwxA
QByk+ePDngGTcKfObBiwNolIf9sJ2/8p9zKI3vQ9dCBicGvPMjqfji3FalRC1Yl8
nP537siQGf6FYvfKhA9nhfp01tOuBdVEVrTQgAYvNB7VW3igb0ZwGqVluswScacw
LAxarfdJaEc=
=nmBF
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to