On Sat, Nov 1, 2008 at 12:39 AM, Stephen Soltesz <[EMAIL PROTECTED]> wrote: > This basically describes what I learned from my last two threads here. > http://elixir.ematia.de/trac/wiki/AutoLoadingTips
Thanks a lot for this. I'm always very grateful for people writing up some doc. I'll also move it to the FAQ, as I think it's more appropriate there. There were a few mistakes in there (that I've corrected now): the most important one being that if you express the intermediate table explicitly (as an Entity) you *cannot* use a ManyToMany relationship on it. See http://www.sqlalchemy.org/docs/05/mappers.html#advdatamapping_relation_patterns_association for some details. Another mistake (but this one is harmless) you keep doing is providing an "auto_primarykey" argument. This argument is meant to tell what is the name of the primary key column that gets generated IF it needs to be generated, and this is not the case when you use autoloaded tables. In this case, that option has absolutely no effect. -- Gaƫtan de Menten http://openhex.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
