checking here (there are probably other summary tables like this): http://www.postgresql.org/docs/8.3/interactive/sql-keywords-appendix.html#KEYWORDS-TABLE
I see that "address" is ok (not reserved SQL); Does your table db.people have a field "address"? (check the spelling) Regards, Yarko On Thu, Nov 13, 2008 at 11:12 AM, pirata.dabaixada < [EMAIL PROTECTED]> wrote: > It worked! > > However, using the pyamf, the client, is the following message: > > NameError: global name 'address' is not defined > > Thanks, > > Heronim > > > > mdipierro escreveu: > > My bad. Had a typo: > > def my_insert(**vsql): > db.people.insert(**vsql) > my_insert(name='Carl',address='av none 1') > > no self unless my_insert is a method > > class A: > def my_insert(self,**vsql): > db.people.insert(**vsql) > a=A() > a.my_insert(name='Carl',address='av none 1') > > > > On Nov 13, 7:31 am, Heronim <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > > > Yes, I read. > I did what I said is happening but the following message: > > "TypeError: insert() takes exactly 1 argument (2 given)" > > "Thanks, > > Heronim > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---