On Nov 12, 2013, at 6:45 AM, warvariuc victor.varvar...@gmail.com wrote:
I have a model with a relationship:
class Customer(Base):
__tablename__ = 'customer'
...
customer_wishes = relationship('CustomerWish', back_populates='customer',
lazy='subquery')
When I query
I have a model with a relationship:
class Customer(Base):
__tablename__ = 'customer'
...
customer_wishes = relationship('CustomerWish', back_populates='customer',
lazy='subquery')
When I query a customer from the db:
15:32:00INFO [sqlalchemy.colorsql]: 0.005s SELECT *