t;
> > session.add(Person(name='foo'))
> > session.add(Person(name='bar'))
> >
> > session.commit()
> >
> > results = session.query(
> > Person.name.label('person'),
> > ).add_entity(
> > Person
>
by(
Person.name
)
print results.count()
print results.limit(1).offset(1).all()
Thanks,
Bill
On Friday, February 19, 2016 at 11:20:44 PM UTC-5, Bill Adams wrote:
>
> Yes, that is what I was trying to describe. I've been trying to create a
> simple test case but have as of yet bee
o unsubscribe from this group and stop receiving emails from it, send an
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://
My company is in the process of upgrading one of our applications from
SQLAlchemy 0.9 to 1.0.12. The process is mostly complete but we are getting
exceptions seemingly at random for some of our more complicated queries.
The relevant stack trace:
File
"/home/bill/.virtualenvs/rrwr-sqla/lib/py