Commit Graph

45 Commits

Author SHA1 Message Date
Mike Bayer ed4fc64bb0 merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to maintenance branch in branches/rel_0_3. 2007-07-27 04:08:53 +00:00
Jason Kirtland 177d30cc01 - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData instead
- Deprecated BoundMetaData- use MetaData instead
- Removed DMD and BMD from documentation
2007-07-06 00:58:09 +00:00
Mike Bayer 7bb67e363d fix to "populate_existing" 2007-06-27 23:12:08 +00:00
Mike Bayer 6d5786c1c2 docs/examples/unittests for remote_side 2006-12-08 20:50:48 +00:00
Mike Bayer 266f9f1ebe some example cleanup 2006-11-01 17:14:50 +00:00
Mike Bayer bc240be3f8 - attributes module and test suite moves underneath 'orm' package
- fixed table comparison example in metadata.txt
- docstrings all over the place
- renamed mapper _getattrbycolumn/_setattrbycolumn to get_attr_by_column,set_attr_by_column
- removed frommapper parameter from populate_instance().  the two operations can be performed separately
- fix to examples/adjacencytree/byroot_tree.py to fire off lazy loaders upon load, to reduce query calling
- added get(), get_by(), load() to MapperExtension
- re-implemented ExtensionOption (called by extension() function)
- redid _ExtensionCarrier to function dynamically based on __getattribute__
- added logging to attributes package, indicating the execution of a lazy callable
- going to close [ticket:329]
2006-10-22 00:24:26 +00:00
Mike Bayer 6f1eb443a3 - "custom list classes" is now implemented via the "collection_class"
keyword argument to relation().  the old way still works but is
    deprecated [ticket:212]
2006-10-03 23:38:48 +00:00
Mike Bayer d117a15020 - internal refactoring to mapper instances() method to use a
SelectionContext object to track state during the operation.
SLIGHT API BREAKAGE: the append_result() and populate_instances()
methods on MapperExtension have a slightly different method signature
now as a result of the change; hoping that these methods are not
in widespread use as of yet.
2006-09-30 04:40:15 +00:00
Mike Bayer c48177f0fe - unit-of-work does a better check for "orphaned" objects that are
part of a "delete-orphan" cascade, for certain conditions where the
parent isnt available to cascade from.
- it is now invalid to declare a self-referential relationship with
"delete-orphan" (as the abovementioned check would make them impossible
to save)
- improved the check for objects being part of a session when the
unit of work seeks to flush() them as part of a relationship..
2006-08-18 17:21:01 +00:00
Mike Bayer bb79e2e871 merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1 2006-05-25 14:20:23 +00:00
Mike Bayer dbf936c30b added explicit "session" argument to get(), select_whereclause in mapper, as well as throughout the call-chain for those. lazy loader honors the "session" of the parent object, + added simple unit test 2006-04-06 19:01:14 +00:00
Mike Bayer 3227aefc71 deprecated relation(class, table)
changed unit tests/examples to not do it
2006-02-02 23:28:23 +00:00
Mike Bayer 8d7c9349b2 moved tables into examples so basic_tree could be simplified 2006-01-03 00:30:37 +00:00
Mike Bayer b769988c9c column.label is now a function; fix byroot example, add 'default_label' accessor to columnimpl 2006-01-02 05:45:37 +00:00
Mike Bayer 9b93554cc0 updates for assignmapper, inherit_condition not required 2005-12-29 00:42:47 +00:00
Mike Bayer 9ebac6151a added 'deferred' keyword, allowing deferred loading of a particular column 2005-12-21 03:44:46 +00:00
Mike Bayer c02e113df3 fixed tree examples import scheme, tweak to properties import 2005-12-03 06:18:55 +00:00
Mike Bayer 1c26c02a9c mysql engine comment.. 2005-11-27 05:44:20 +00:00
Mike Bayer 3214302aa7 new calling style for sqlite engine 2005-11-12 01:18:17 +00:00
Mike Bayer 51366310ee 2005-10-30 16:54:51 +00:00
Mike Bayer 503ad85018 2005-10-23 18:47:54 +00:00
Mike Bayer cd1ae96e6b 2005-10-23 17:57:28 +00:00
Mike Bayer fcc033fb27 2005-10-23 17:35:16 +00:00
Mike Bayer a1c320a344 2005-10-23 17:31:32 +00:00
Mike Bayer b26158a1c2 2005-10-23 17:12:57 +00:00
Mike Bayer 722f97a826 2005-10-23 03:46:20 +00:00
Mike Bayer 23b0eef7a1 2005-10-23 00:47:45 +00:00
Mike Bayer 4d80f493e4 2005-10-22 03:53:35 +00:00
Mike Bayer d9d39f0a8d 2005-10-17 00:12:30 +00:00
Mike Bayer 988bf12461 2005-10-17 00:06:13 +00:00
Mike Bayer 9e37e8135d 2005-10-16 23:58:35 +00:00
Mike Bayer a3cb33357c 2005-10-16 21:38:58 +00:00
Mike Bayer 7e008f2f9e 2005-10-15 18:53:10 +00:00
Mike Bayer 859cbfc68a 2005-10-15 06:58:34 +00:00
Mike Bayer afff888477 w00p 2005-10-15 06:30:11 +00:00
Mike Bayer 95e75a7cf8 2005-10-14 09:35:29 +00:00
Mike Bayer fad353e571 2005-10-14 08:51:14 +00:00
Mike Bayer d4fa6d95c9 2005-10-14 08:21:00 +00:00
Mike Bayer db2a9ce711 2005-10-14 07:33:04 +00:00
Mike Bayer a44480237a 2005-10-14 06:57:48 +00:00
Mike Bayer 34af960186 2005-10-14 06:01:56 +00:00
Mike Bayer dbc5716dae 2005-10-14 04:23:02 +00:00
Mike Bayer 27c3542a0f 2005-10-14 03:46:48 +00:00
Mike Bayer 606ca93762 new examples 2005-10-13 00:24:09 +00:00
Mike Bayer 7d3c4e27d4 2005-10-02 01:46:42 +00:00