{"commit":"48ca20f466be048d5f8e896f5d6d653a4c84a4a8","subject":"","message":"\n\ngit-svn-id: http:\/\/svn.sqlalchemy.org\/sqlalchemy\/trunk@331 8cd8332f-0806-0410-a4b6-96f4b9520244\n","repos":"obeattie\/sqlalchemy,obeattie\/sqlalchemy,obeattie\/sqlalchemy","old_file":"doc\/build\/content\/document_base.myt","new_file":"doc\/build\/content\/document_base.myt","new_contents":"<%flags>inherit=\"doclib.myt\"<\/%flags>\n\n<%python scope=\"global\">\n\n\tfiles = [\n\t\t'roadmap',\n\t\t'pooling',\n\t\t'dbengine',\n\t\t'metadata',\n\t\t'sqlconstruction',\n\t\t'datamapping',\n\t\t'adv_datamapping',\n\t\t\n\t\t]\n\n<\/%python>\n\n<%attr>\n\tfiles=files\n\twrapper='section_wrapper.myt'\n\tonepage='documentation'\n\tindex='index'\n\ttitle='SQLAlchemy Documentation'\n\tversion = '0.91'\n<\/%attr>\n\n\n\n\n\n\n","old_contents":"<%flags>inherit=\"doclib.myt\"<\/%flags>\n\n<%python scope=\"global\">\n\n\tfiles = [\n\t\t'roadmap',\n\t\t'pooling',\n\t\t'dbengine',\n\t\t'metadata',\n\t\t'sqlconstruction',\n\t\t'datamapping',\n\t\t'adv_datamapping',\n\t\t'activerecord',\n\t\t\n\t\t]\n\n<\/%python>\n\n<%attr>\n\tfiles=files\n\twrapper='section_wrapper.myt'\n\tonepage='documentation'\n\tindex='index'\n\ttitle='SQLAlchemy Documentation'\n\tversion = '0.91'\n<\/%attr>\n\n\n\n\n\n\n","returncode":0,"stderr":"","license":"mit","lang":"Myghty"} {"commit":"1298a7587fd82a75115f27bf47b68d02057a8c7c","subject":"doc dev...","message":"doc dev...\n\n\ngit-svn-id: 655ff90ec95d1eeadb1ee4bb9db742a3c015d499@1200 8cd8332f-0806-0410-a4b6-96f4b9520244\n","repos":"obeattie\/sqlalchemy,obeattie\/sqlalchemy,obeattie\/sqlalchemy","old_file":"doc\/build\/content\/unitofwork.myt","new_file":"doc\/build\/content\/unitofwork.myt","new_contents":"<%flags>inherit='document_base.myt'<\/%flags>\n<%attr>title='Unit of Work'<\/%attr>\n\n<&|doclib.myt:item, name=\"unitofwork\", description=\"Unit of Work\" &>\n <&|doclib.myt:item, name=\"overview\", description=\"Overview\" &>\n

The concept behind Unit of Work is to track modifications to a field of objects, and then be able to commit those changes to the database in a single operation. Theres a lot of advantages to this, including that your application doesn't need to worry about individual save operations on objects, nor about the required order for those operations, nor about excessive repeated calls to save operations that would be more efficiently aggregated into one step. It also simplifies database transactions, providing a neat package with which to insert into the traditional database begin\/commit phase.\n <\/p>\n

SQLAlchemy's unit of work includes these functions:\n