[sqlalchemy] Re: in_() function help

2006-12-11 Thread Robin Munn
On 12/11/06, Jose Soares [EMAIL PROTECTED] wrote: Hi all, I need some help with in_ function (Pdb) print codice ['', '62714', '62601', '62602', '62612', '62614', '62603', '62610'] (Pdb) print type(codice) type 'list' (Pdb) print select([Attivita.c.cod_specie],

[sqlalchemy] Re: in_() function help

2006-12-11 Thread Robin Munn
Date: Mon, 11 Dec 2006 13:28:25 From: Jose Soares [EMAIL PROTECTED] To: sqlalchemy@googlegroups.com Subject: [sqlalchemy] in_() function help Date: Mon, 11 Dec 2006 13:27:58 From: Robin Munn [EMAIL PROTECTED] To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] in_() function help Who

[sqlalchemy] Re: python ORM

2006-12-11 Thread [EMAIL PROTECTED]
hibernate didn't magically appear, it was refined with input from users over many years. if you want to help make sqlalchemy better for yours and other usage. its much better to give concrete examples, that can be used to improve it, then making grandiose negative statements. the idea behind sa's

[sqlalchemy] Re: python ORM

2006-12-11 Thread Kevin Dangoor
On 12/9/06, flyingfrog [EMAIL PROTECTED] wrote: SQLAlchemy lets you define separately DB code and python classes, but then you hve a real duplication. And to use database functionalities you always need to access session objects or connections, making sql-like queries. And i don't want that.

[sqlalchemy] Re: SQLAlchemy 0.3.2 released

2006-12-11 Thread Michael Bayer
yeah, still waiting for someone to show me some easy non-commercial library that can create a decent PDF out of either markdown, or HTML, or whatever... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy

[sqlalchemy] Re: SQLAlchemy 0.3.2 released

2006-12-11 Thread Rick Morrison
We use (or rather, are going to use) reportlab for that - of course, that's commercial. But, we did get a lot of mileage out of the programmatic open-source kit before that. There was an RML-like thing floating around not too long ago called tinyreport or openreport or something like

[sqlalchemy] Re: python ORM

2006-12-11 Thread Kevin Dangoor
On 12/11/06, Michael Bayer [EMAIL PROTECTED] wrote: Hibernate is pretty SQL oriented as well, and as I use it every day for my job I can say it has little to nothing over SA...harder to configure, more complex and less consistent behavior with regards to relationships, poorer database support

[sqlalchemy] Re: python ORM

2006-12-11 Thread David Shoemaker
Or get a day job at a company that uses nothing but sqlalchemy, like mine :). Python coder resumes always accepted, especially from Mike. -shoe On 12/11/06, Kevin Dangoor [EMAIL PROTECTED] wrote: On 12/11/06, Michael Bayer [EMAIL PROTECTED] wrote: Hibernate is pretty SQL oriented as well,

[sqlalchemy] Re: SQLAlchemy 0.3.2 released

2006-12-11 Thread skip . montanaro
Mike yeah, still waiting for someone to show me some easy Mike non-commercial library that can create a decent PDF out of either Mike markdown, or HTML, or whatever... Why not load the HTML into a web browser, print it, but select Save as PDF instead of completing the print? Are

[sqlalchemy] Re: SQLAlchemy 0.3.2 released

2006-12-11 Thread Robin Munn
On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Mike yeah, still waiting for someone to show me some easy Mike non-commercial library that can create a decent PDF out of either Mike markdown, or HTML, or whatever... Why not load the HTML into a web browser, print it, but

[sqlalchemy] Re: SQLAlchemy 0.3.2 released

2006-12-11 Thread Lee McFadden
On 12/11/06, Robin Munn [EMAIL PROTECTED] wrote: On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Mike yeah, still waiting for someone to show me some easy Mike non-commercial library that can create a decent PDF out of either Mike markdown, or HTML, or whatever...

[sqlalchemy] Re: SQLAlchemy 0.3.2 released

2006-12-11 Thread Michael Bayer
well id want the paging to line up correctly, get the TOC in there, stuff like that. otherwise theres not much advantage to PDF. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this

[sqlalchemy] Re: SA ORM delete efficiency

2006-12-11 Thread Michael Bayer
ml wrote: 1) Why does the SA the second SELECT for addresses to obtain primary keys? Why there is not a direct DELETE FROM addresses WHERE user_id=?? because SA's mapper is only a simple entity mapper. the way an instance gets deleted is by it being marked as deleted, and then the instance