3 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: ordering
FromSent OnAttachments
Geoff30 May 2008 09:25 
Bobby Impollonia30 May 2008 09:27 
Michael Bayer30 May 2008 12:16 
Subject:[sqlalchemy] Re: ordering
From:Bobby Impollonia (bob@gmail.com)
Date:05/30/2008 09:27:04 AM
List:com.googlegroups.sqlalchemy

You can add .order_by(None) to the query to remove the default ordering.

On Fri, May 30, 2008 at 12:25 PM, Geoff <hotf@gmail.com> wrote:

Hi!

I've noticed that a very simple query has an ordering applied to it even though I haven't asked for one. Is there a way to stop it doing that?

the query: Session.query(User).set_shard(shard).filter_by(uuid=uuid).all()