On May 27, 10:46 am, annet.verm...@gmail.com wrote:
> However, this:
>
> record=db.adres[request.args[0]]
>
> is not equivalent to:
>
> record=db(db.adres.id==request.args[0]).select(db.adres.bedrijf)
>
> Why not?

The former gets the whole record (including lambda function
update_record).
The latter only gets the contents of one field (bedrijf).

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

Reply via email to