update_record is just an handy shortcut, so it shouldn't (under the hood it 
just calls update() on the right table with the right values), and I never 
heard of.

On Friday, May 22, 2015 at 11:51:00 AM UTC+2, peter wrote:
>
> I am using sqlite 3.
>
> I have a ticket booking system. Transaction.status is set to 'pending'  in 
> the database, when the transaction is initiated. 
> When the paypal payment completes:
>
>     transaction.status='booked'
>     transaction.update_record()
>
> emails are then sent out.
>
> I have a strange example where the 'update_record' seems to have not 
> worked, and yet execution of the routine was not interrupted, so the emails 
> were still sent out, but status remains at pending.
>
> Is it possible for 'update_record' to not work, and yet not fail and 
> generate a ticket?
>
> If so, is there any way to know this is happening to 'handle' it?
>
> Thanks for any help on this.
>
> Peter  
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to