Re: [sqlalchemy] Trouble getting started with SQLAlchemy on Jython

2011-11-17 Thread Cam Jackson
Wow, that was quick! Wish I'd come to the mailing list before I spent my whole day baffled over this! Thanks a lot guys, will have to look into getting the fix. Although I've never used mercurial or ant before. On Thu, Nov 17, 2011 at 5:59 PM, Philip Jenvey pjen...@underboss.orgwrote: On Nov

[sqlalchemy] Join query with MAX

2011-11-17 Thread sajuptpm
i have a join query that using aggregate function MAX and its output look like (103,) or (None, ), How check that out of that query is not None. ?? saju_m i know we can not use -- if result:, only option is i think --- if result[0]: , Any other way ? -- You received this message

[sqlalchemy] add results in a python object

2011-11-17 Thread raulna
Hi, i need save results in a python object from multiples querys, like: for user in users: phones = DBSession.query(Phone).filter('... python_object = python_object + phones ? How can i append this results in unique object? Thanks -- You received this

RE: [sqlalchemy] Trouble getting started with SQLAlchemy on Jython

2011-11-17 Thread Jackson, Cameron
Hmmm. I have a Windows machine on my desk, and the only linux boxes I have access to (through SSH) don't have internet access. So I browsed to the link you had in the hg clone command, and downloaded from the zip file at the left of the page. I then extracted and copied the contents onto a