Ah yes, so back to my original thought
db(status == 'pending').update(status = 'pending-' + request.now)
for db(status == 'pending-' + request.now).select():
task.update_record(status = 'processing-' + request.now
success = do_the_long_thing(task)
fail
if success:
task.update_record(status = 'done')
-Thadeus
On Tue, Dec 29, 2009 at 1:52 AM, toomim <[email protected]> wrote:
> sk.update_record(status == 'proce
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en.