Thanks again Chris, you're a legend. Using the recipe in the
doco that I linked to above, SQLautocode did help me a lot
to get "quickstarted" on my SA model but some things I
didn't like/understand. I hope it's ok to give some comments
here to the author(s).

#__main__ in front of every table name
#Main in front of every class name
#underscores in front of every relation name and table name
I understand there may be technical reasons why this is
necessary but I thought maybe a bit redundant.

#column order changed to alphabetical
I like to have PK first and optional columns last

#no __init__ and no __repr__
Maybe these are not usually required? I thought repr was
only optional in Elixir.

#transitive relations added
Maybe I did something wrong here but it seemed to me that
I had tables (A, B)  (B, C) and I got relations like (A, C)
added that weren't in the original Elixir model.

Anyway, the massaging of the tables is nearly complete and
I'm debugging SA errors. Going to the SA forum next.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to