From b1b6fa66b87ce2b44b97325f4ba343039073debf Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 7 Aug 2011 13:37:40 -0400 Subject: [PATCH] drat --- doc/build/orm/mapper_config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/orm/mapper_config.rst b/doc/build/orm/mapper_config.rst index 5f81674486..fb9ad9299f 100644 --- a/doc/build/orm/mapper_config.rst +++ b/doc/build/orm/mapper_config.rst @@ -429,7 +429,7 @@ to add an additional property after the fact:: User.address_count = column_property( select([func.count(Address.id)]).\ - where(Address.user_id==id) + where(Address.user_id==User.id) ) For many-to-many relationships, use :func:`.and_` to join the fields of the -- 2.47.3