On Wed, Nov 1, 2017 at 12:47 AM, Jason Gosnell wrote:
> Hi folks,
>
> Is the GlobalFilter recipe expected to still work with newer versions of
> sqlalchemy? I've copied and pasted the code right out of the recipe and get
> this assertion:
>
> 2017-10-31 21:38:22,391 INFO sqlalchemy.engine.base.Eng
Hi folks,
Is the GlobalFilter recipe expected to still work with newer versions of
sqlalchemy? I've copied and pasted the code right out of the recipe and get
this assertion:
2017-10-31 21:38:22,391 INFO sqlalchemy.engine.base.Engine SELECT parent.id
AS parent_id, parent.timestamp AS parent_ti
Michael Bayer wrote:
frozendict has a union() method. query._params = query._params.union(...)
Okay, I've updated the GlobalFilter and DropEverything recipes :-)
Chris
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, se
frozendict has a union() method. query._params = query._params.union(...)
On Jul 5, 2010, at 11:28 AM, Chris Withers wrote:
> Hi All,
>
> This recipe:
>
> http://www.sqlalchemy.org/trac/wiki/UsageRecipes/GlobalFilter
>
> ...blows up as follows in SA 0.6.1 on Python 2.6 around here:
>
> pare
Hi All,
This recipe:
http://www.sqlalchemy.org/trac/wiki/UsageRecipes/GlobalFilter
...blows up as follows in SA 0.6.1 on Python 2.6 around here:
parents = session.query(Parent).\
options(
TemporalOption(
datetime.datetime(2009, 10, 16, 12, 00, 00),