Merge pull request #158 from ashl1/patch-1
Fix documentation for aggregates relationship
This commit is contained in:
@@ -285,7 +285,7 @@ categories.
|
|||||||
def net_worth(self):
|
def net_worth(self):
|
||||||
return sa.func.sum(Product.price)
|
return sa.func.sum(Product.price)
|
||||||
|
|
||||||
categories = sa.orm.relationship('Product')
|
categories = sa.orm.relationship('Category')
|
||||||
|
|
||||||
|
|
||||||
class Category(Base):
|
class Category(Base):
|
||||||
|
Reference in New Issue
Block a user