Hi,

I've done a mapping of a (not typical) tree structure. It's not 
completed yet, but the work in progress can be seen here:
http://wojciechmalinowski.com/tree.zip

The idea was to make the model as simple as possible and do all the work 
in the mapper. The model should have only a few properties that can also 
be mapped by another tree structure (i.e. nested sets). I also wanted to 
make it as generic as possible so I can use it for different classes in 
my projects.

I have a few questions now:
1) How to use SQLAlchemy extensions to create the special parent 
property that is now created using monkey-patching of a class? Is it 
possible?
2) How to use the technique shown in 
examples/derived_attributes/attributes.py to be able to filter other 
queries by node.all_children_with_self etc.
3) What other things can be made better here?
4) When I finish this example I can publish it in public domain. Can it 
be included in SQLAlchemy examples then?

Regards,
Wojciech Malinowski

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

Reply via email to