Commit ID 4d2aa4b3731577ce8324b628d3c0e26a9c9e0e12
|
|
Contributor: | zzzeek as Mike Bayer |
Files Modified: | 5 |
| Date: | 31-January-2012 at 00:52 | Lines Added: | 793 | |
| Repository: | http://hg.sqlalchemy.org/sqlalchemy/ | Lines Removed: | 629 | |
| Commit Comment: | break out _save_obj(), _delete_obj(), _post_update() into a new module persistence.py - Mapper loses awareness of how to emit INSERT/UPDATE/DELETE, persistence.py is only used by unitofwork.py. Then break each method out into a top level with almost no logic, calling into _organize_states_for_XYZ(), _collect_XYZ_commands(), _emit_XYZ_statements(). |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| Python | 521 | 471 | 128 | 63 | 144 | 95 | |
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed |
|---|---|---|---|---|---|---|---|
| lib/sqlalchemy/orm/mapper.py | Python | 0 | 464 | 5 | 63 | 0 | 95 |
| lib/sqlalchemy/orm/persistence.py | Python | 514 | 0 | 123 | 0 | 143 | 0 |
| lib/sqlalchemy/orm/sync.py | Python | 0 | 0 | 0 | 0 | 1 | 0 |
| lib/sqlalchemy/orm/unitofwork.py | Python | 6 | 6 | 0 | 0 | 0 | 0 |
| test/orm/test_mapper.py | Python | 1 | 1 | 0 | 0 | 0 | 0 |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.