collection (i.e. the reverse of the 'typical'
association proxy use case) [ticket:2054]
+- examples
+ - Beaker example now takes into account 'limit'
+ and 'offset', bind params within embedded
+ FROM clauses (like when you use union() or
+ from_self()) when generating a cache key.
+
0.7.0b1
=======
- Detailed descriptions of each change below are
if cache_key is None:
# cache key - the value arguments from this query's parameters.
- args = _params_from_query(query)
- cache_key = " ".join([str(x) for x in args])
+ args = [str(x) for x in _params_from_query(query)]
+ args.extend([str(query._limit), str(query._offset)])
+ cache_key = " ".join(args)
assert cache_key is not None, "Cache key was None !"
v.append(value)
if query._criterion is not None:
visitors.traverse(query._criterion, {}, {'bindparam':visit_bindparam})
+ for f in query._from_obj:
+ visitors.traverse(f, {}, {'bindparam':visit_bindparam})
return v