summaryrefslogtreecommitdiff
path: root/examples/adjacencytree/byroot_tree.py
Commit message (Collapse)AuthorAgeFilesLines
* removing this example until further notice (append_result() not an easy road ↵Mike Bayer2008-08-151-244/+0
| | | | to travel)
* fix adjacency list examplesMike Bayer2008-07-141-3/+3
|
* oof, history on collections were wrong. fixed byroot_tree test as wellMike Bayer2007-12-141-2/+2
|
* Removed some distractions, ala r3770.Jason Kirtland2007-11-141-64/+87
|
* - got all examples workingMike Bayer2007-09-011-5/+11
| | | | | | | - inline default execution occurs for *all* non-PK columns unconditionally - preexecute only for non-executemany PK cols on PG, Oracle, etc. - new default docs
* Updated adjencytree examplesJason Kirtland2007-08-211-4/+4
|
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-33/+28
| | | | maintenance branch in branches/rel_0_3.
* - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData insteadJason Kirtland2007-07-061-1/+1
| | | | | - Deprecated BoundMetaData- use MetaData instead - Removed DMD and BMD from documentation
* fix to "populate_existing"Mike Bayer2007-06-271-1/+1
|
* docs/examples/unittests for remote_sideMike Bayer2006-12-081-1/+1
|
* some example cleanupMike Bayer2006-11-011-8/+7
|
* - attributes module and test suite moves underneath 'orm' packageMike Bayer2006-10-221-3/+2
| | | | | | | | | | | | | - 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]
* - "custom list classes" is now implemented via the "collection_class"Mike Bayer2006-10-031-3/+6
| | | | | keyword argument to relation(). the old way still works but is deprecated [ticket:212]
* - internal refactoring to mapper instances() method to use aMike Bayer2006-09-301-3/+4
| | | | | | | | 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.
* - unit-of-work does a better check for "orphaned" objects that areMike Bayer2006-08-181-1/+1
| | | | | | | | | | 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..
* merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1Mike Bayer2006-05-251-43/+36
|
* added explicit "session" argument to get(), select_whereclause in mapper, as ↵Mike Bayer2006-04-061-0/+1
| | | | well as throughout the call-chain for those. lazy loader honors the "session" of the parent object, + added simple unit test
* deprecated relation(class, table)Mike Bayer2006-02-021-1/+1
| | | | changed unit tests/examples to not do it
* moved tables into examples so basic_tree could be simplifiedMike Bayer2006-01-031-9/+42
|
* column.label is now a function; fix byroot example, add 'default_label' ↵Mike Bayer2006-01-021-1/+1
| | | | accessor to columnimpl
* updates for assignmapper, inherit_condition not requiredMike Bayer2005-12-291-1/+1
|
* fixed tree examples import scheme, tweak to properties importMike Bayer2005-12-031-3/+1
|
* (no commit message)Mike Bayer2005-10-231-4/+5
|
* (no commit message)Mike Bayer2005-10-231-1/+1
|
* (no commit message)Mike Bayer2005-10-171-5/+4
|
* (no commit message)Mike Bayer2005-10-171-2/+0
|
* (no commit message)Mike Bayer2005-10-161-2/+2
|
* (no commit message)Mike Bayer2005-10-161-0/+12
|
* (no commit message)Mike Bayer2005-10-151-6/+5
|
* (no commit message)Mike Bayer2005-10-151-4/+6
|
* w00pMike Bayer2005-10-151-0/+1
|
* (no commit message)Mike Bayer2005-10-141-4/+5
|
* (no commit message)Mike Bayer2005-10-141-22/+32
|
* (no commit message)Mike Bayer2005-10-141-7/+48
|
* (no commit message)Mike Bayer2005-10-141-3/+3
|
* (no commit message)Mike Bayer2005-10-141-4/+6
|
* new examplesMike Bayer2005-10-131-0/+127