*...@foxbunny - i agree that is a more elegant implementation but just need the
last id # for now so i can hand it off to the person pasting in code (so
they can find it again) :)*
*
*
On Thu, Jun 3, 2010 at 7:50 AM, foxbunny <[email protected]> wrote:

> Use transactions present error messages in the except clause.
>
> http://webpy.org/cookbook/transactions
>
> On Jun 3, 12:40 pm, geekbuntu <[email protected]> wrote:
> > here's how i tried to use it / and the code around it:
> >
> > http://www.feedtheguru.com:8080/view/?id=34
> >
> > i tried web.inserts and web.insert - do i need to do something special
> > to get the id value out of it?
> >
> > On Jun 2, 10:53 pm, Anand Chitipothu <[email protected]> wrote:
> >
> >
> >
> > > 2010/6/3 geekbuntu <[email protected]>:
> >
> > > > how can i get the id from an inserted row that i just inserted in
> > > > webpy to mysqldb?
> >
> > > web.inserts returns the id of the inserted row.
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <webpy%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>

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

Reply via email to