Hi everyone, I'm struggling to try and use SqlAlchemy (0.5rc2) with a project I'm working on. The database part isn't very hard, it's just a flat table, but I keep running into problems with SA throwing exceptions. The SA documentation is good, but as of yet I haven't gotten the "ah ha" moment of how to put it all together. What I need to see is a simple, complete application example that would show me how the pieces fit together as a whole. In particular I'm looking for things like this:
1) When and how to update the database when modifying a Class instance. 2) Can database object instances be maintained in a Python list, or should they be handled one at a time? 3) Does deleting a database object instance (del obj) delete the row from the database, or should session.delete(obj) be called first and then del obj? 4) Is it possible to apply a Python __cmp__() method to a list of database objects, or should SA order by operations be used instead? Thanks in advance! Doug --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
