How silly of me not to have checked that in the docs. Rather embarrassing
really :) Thanks.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sqlalchemy/-/rTk1ea1hvrgJ.
To po
On Nov 18, 2011, at 6:56 AM, Alex Grönholm wrote:
> My use case is the following: each SalesItem requires a calcPriceList and a
> salesPriceList (of type PriceList) attached to it.
> For that, SalesItem has two fields:
> calcpricelist_id = Column(BigInteger, ForeignKey(PriceList.id),
> null
My use case is the following: each SalesItem requires a calcPriceList and a
salesPriceList (of type PriceList) attached to it.
For that, SalesItem has two fields:
calcpricelist_id = Column(BigInteger, ForeignKey(PriceList.id),
nullable=False)
salespricelist_id = Column(BigInteger, Foreign