Hi folks,

I'm trying to update a value from a inner join query:
new=db((db.character.id==1)&(db.character.id
==db.characterHasAttribute.id_character)&(db.characterHasAttribute.id_attribute==3)).select()[0]
new.update_record(characterHasAttribute.total_value=2)

The error is:

new.update_record(characterHasAttribute['total_value']=2)
SyntaxError: keyword can't be an expression

What am I missing here?

Thanks!



-- 
Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to