- changed milestone to 0.7.9
Documentation bug? select + filter ()
Issue #2546
resolved
http://docs.sqlalchemy.org/en/rel_0_7/orm/query.html#sqlalchemy.orm.query.Query.join
has the following example:
addresses_q = select([Address.user_id](Address.user_id)).\
filter(Address.email_address.endswith("@bar.com")).\
alias()
IIRC, .filter() only works with Query() objects, not with selectables. Should that be a .where() instead?
Comments (5)
-
repo owner -
Account Deleted (original author: diana) Fixed in 9f61fcc7a381c41dfd12ad916b0ea53bd8943130 I manually tested this documentation snippet. Let me know if you want this fixed in any other branches. Thanks!
-
Account Deleted (original author: diana) also changed in cf7a4abbf3daac9171f2b0b8708fc3cc7a9db2b6 (branch: rel_0_7) so that I can close this ticket
-
Account Deleted - changed status to resolved
(original author: diana)
-
repo owner - removed milestone
Removing milestone: 0.7.10 (automated comment)
- Log in to comment
looks like it.