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.


Reply via email to