zeroc8
unread,May 8, 2012, 1:18:22 AM5/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
Has anyone been successful getting the LastInsertId after an insert statement?
When I try to read LastInsertId() from result, I get
"pq: this is postgres, a real database, this isn't a valid command".
Fair enough, but Postgres has something like this
insert into foo values('bla') return id
Is there any way to retrieve that value?