You cannot because db is a connection therefore it not serializable. Massimo
On Dec 17, 5:27 am, DenesL <denes1...@yahoo.ca> wrote: > Yep, there is a LOT of info there, just not the piece I am looking > for. > It is more than curiosity now, I need to write to a file the > executable code of a SQLQuery object, as in: > db(db.table.field. ... ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---