On Wed, Jan 5, 2011 at 8:14 AM, Arun K.Rajeevan <the1.a...@gmail.com> wrote:
> On Tuesday, January 4, 2011 3:05:46 PM UTC-5, Richard wrote: > >> >> >> On Mon, Jan 3, 2011 at 5:13 PM, pk <peter.k...@youngdesigners.de> wrote: >> >>> hi together, >>> >>> i have a function for the onlineuser: >>> >>> usersall=db(db.online.last_visit>time.time()-dt) >> >> (db.online.user_id==db.auth_user.id).select(db.auth_user.ALL) >>> >> >> This line should be : >> >> db(db.online.user_id==db.auth_user.id).select(db.auth_user.ALL) >> >> That's correct, may be some formatting problem, that's actually > >> usersall=db((db.online.last_visit>time.time()-dt) & (db.online.user_id== >> db.auth_user.id)).select(db.auth_user.ALL) >> > ?? Richard