Thanks a lot to everybody, it seems that I have just skimmed over this part of the book. I will have to re-read it again more carefully.
On Friday, March 29, 2013 2:23:36 PM UTC+1, Niphlod wrote: > > Annet got it right. > > On Friday, March 29, 2013 1:16:34 PM UTC+1, Cliff Kachinske wrote: >> >> For starters, look closely. >> >> db(db.family_members.user_id == auth.user_id and >> db.family_members.connected_to==db.auth_user.id).select(db.family_members.connected_to, >> >> db.auth_user.last_name, db.auth_user.first_name) >> >> > PS: auth.user_id is perfectly fine ... returns either the id of the > logged-in user or None. > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.