with the sqlalchemy tables it works, but i dont like solution :P, now i have to map all tables :/
thanks for your time :) El sábado 24 de marzo de 2012 23:49:15 UTC-6, Michael Bayer escribió: > > Yeah this is really not an easy use case with SQLSoup, you can't use the > string form "" and really if your database has FOREIGN KEY on > "unit_purchase_id" you shouldn't need to be doing this anyway - you'd want > to check in your PGAdmin tool to see if there is in fact an FK constraint > on this column. > > or just try losing the "" : > > primaryjoin=catalog_product.id==catalog_unit.unit_purchase_id > > anyway this is why SQLsoup is spun off as it's own project now (it won't > be in SQLAlchemy 0.8), it really needs someone to maintain/document it as > it's very old. > > > On Mar 24, 2012, at 11:38 PM, temo wrote: > > > -- 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/-/xyFqTc88t2QJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
