[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Portable way to find a pk using Ruby-DBI

List Recv

6/11/2006 7:55:00 PM

Is there a portable way to find a record's PK, after it was inserted
(assuming it was autogenerated) using Ruby-DBI?

What is the best way to handle this? If I'd like to support multiple
db's, how shouldI handle finding/generating pk's?