if you want all the SQLObject functions on results, you can use the
SelectResults plugin which is based on that of SQLObject:
http://www.sqlalchemy.org/docs/plugins.myt#plugins_selectresults
(should probably have a flag on ActiveMapper to turn SelectResults on
individual classes)
On 7/12/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
I'm writing a section about migrating a database from SQLObject toSQLAlchemy. I think I've found a minor usability wart: in SQLObject,you can do "SomeClass.select().count()". In SQLAlchemy withActiveMapper, the equivalent is "list(
Page.table.cou
On 7/12/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
I'm writing a section about migrating a database from SQLObject toSQLAlchemy. I think I've found a minor usability wart: in SQLObject,you can do "SomeClass.select().count()". In SQLAlchemy withActiveMapper, the equivalent is "list(
Page.table.cou
I'm writing a section about migrating a database from SQLObject to
SQLAlchemy. I think I've found a minor usability wart: in SQLObject,
you can do "SomeClass.select().count()". In SQLAlchemy with
ActiveMapper, the equivalent is "list(Page.table.count().execute())[0]
[0]", which is a little p
4 matches
Mail list logo