Adjacency lists with sqlalchemy...

Just Another Victim of the Ambient Morality ihatespam at hotmail.com
Wed Sep 2 09:27:03 CEST 2009


    I'm desperately trying to declare an adjacency list table with 
declarative_base() but I can't figure it out.  Strangely, all the 
documentation avoids declarative_base() like the plague and does everything 
the hard way.  What the hell is this thing for if we're not supposed to use 
it?
    If anyone can show me how to declaratively create ORM adjacency list or 
explain to me why this can't be done, I'd be very grateful.
    Thank you! 





More information about the Python-list mailing list