Re: how to get CURRVAL()

2008-09-20 Thread Daniel Roseman
On Sep 20, 6:05 am, Merrick <[EMAIL PROTECTED]> wrote: > I have a function in my model where I need the next sequence id from > postgresql so i can create an encoded value based off it. Any ideas on > how to do this? You can use the db.connection object for direct access to the database. I don't

how to get CURRVAL()

2008-09-19 Thread Merrick
I have a function in my model where I need the next sequence id from postgresql so i can create an encoded value based off it. Any ideas on how to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django