Hello.
Can't get this to work, I want to get users who is online - users
where last_read column = now() - 30 minutes
With DBSession.query(User).filter(User.is_online) query
But get the following error:
File /home/eps/devel/tourclub/pbb/pbb/models/__init__.py, line 147, in
module
class
On Jan 3, 2012, at 3:31 PM, sector119 wrote:
Hello.
Can't get this to work, I want to get users who is online - users where
last_read column = now() - 30 minutes
With DBSession.query(User).filter(User.is_online) query
But get the following error:
File
Now I get
File
/home/eps/devel/tourclub/sqlalchemy/lib/sqlalchemy/sql/visitors.py, line
59, in _compiler_dispatch
return getter(visitor)(self, **kw)
File
/home/eps/devel/tourclub/sqlalchemy/lib/sqlalchemy/sql/compiler.py, line
370, in visit_column
raise exc.CompileError(Cannot
On Jan 3, 2012, at 4:14 PM, sector119 wrote:
Now I get
File /home/eps/devel/tourclub/sqlalchemy/lib/sqlalchemy/sql/visitors.py,
line 59, in _compiler_dispatch
return getter(visitor)(self, **kw)
File /home/eps/devel/tourclub/sqlalchemy/lib/sqlalchemy/sql/compiler.py,
line 370,