youll need to reveal whats in that settings.db_string.

saxon75 wrote:
>
> One of my scripts keeps printing out a bunch of LAZY CLAUSE statements
> and I'd like to know how to turn that off.
>
> Here's what I'm doing:
>
>>> db = create_engine(settings.db_string)
>>> session = create_session(bind_to=db)
>>> cur_article =
>>> session.query(Article).selectfirst(Section.c.keyword==section,
>>> order_by=[desc(Article.c.timestamp)])
>
> This is likely a dumb question, but I couldn't figure it out on my
> own.
>
> Thanks.
>
>
> >
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to