Hello, What is the difference between declarative_base vs mapper. I'm used to creating the sa_table, python class, and mapper to combine them both. I see that tg2 is using declarative_base as its class base.
Are there any advantages/differences in the two approaches? If I wanted to use mappers, do I just import mapper and follow the standard syntax? Will controller know or complain about anything if I pass a mapped class? sa_table def, python class, mapper seem like a natural approach. I'm not sure what declarative_base does for me that is different? Let me know. Thanks, Lucas -- How to create python package? http://lucasmanual.com/mywiki/PythonPaste Bazaar and Launchpad http://lucasmanual.com/mywiki/Bazaar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

