[sqlalchemy] Re: do not load large binary column but make available on demand

2008-07-09 Thread Rick Morrison
I started off with using only the SQL-API part of SA myself, but the ORM is way too good to ignore, and I've since converted piles of code over to using the ORM, typically with a 50% loss in lines of code and while getting much better code reuse. The "query as a mapper-aware select" orientation of

[sqlalchemy] Re: do not load large binary column but make available on demand

2008-07-09 Thread Tom Hogarty
Deferred column loading is exactly what I needed, thanks Rick! Coming from a pure SQL background I'm starting to get familiar with all this new ORM and SQLAlchemy terminology. It's worth it though, the code is so much cleaner and more maintainable than stringing together huge complicated SQL quer

[sqlalchemy] Re: do not load large binary column but make available on demand

2008-07-09 Thread Rick Morrison
Sounds like you want deferred loading for the column: http://www.sqlalchemy.org/docs/04/mappers.html#advdatamapping_mapper_deferred --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this