Hi Conor and rest of the group:
I think I got it!
Investigating the metadata instance (printing the contents of
metadata.__dict__), I realized that in it appear references to the
tables although not as table_name but schema_name.table_name.
Let's say my schema (in MySQL terminology) is called
Oh, and regarding the other part of your answer:
These class definitions should be merged with those in Tables.py. You should
only have one class Parent statement and one class Child statement. You
may be confusing this with the non-declarative class setup, where you define
the table first,
Thank you again, Connor. I'll give it a try on Monday and I'll let you
know the results.
I kind of suspected that having the classes defined in two different
places was making the whole thing go nuts, but that's the way I found
it (and I was trying to keep it consistent with what was there) but I
Hello, group!
I am still dealing with the relationship I asked before
(http://groups.google.com/group/sqlalchemy/browse_thread/thread/c1d46daf35116999).
To tell the truth, I'm not even sure if this is a question I should
ask in the SqlAlchemy forum because I'm also dealing with Megrok.rdb
On 10/29/2010 05:31 PM, Hector Blanco wrote:
Hello, group!
I am still dealing with the relationship I asked before
(http://groups.google.com/group/sqlalchemy/browse_thread/thread/c1d46daf35116999).
To tell the truth, I'm not even sure if this is a question I should
ask in the SqlAlchemy