| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | bind_to fix | Mike Bayer | 2006-02-14 | 1 | -1/+1 | |
| | | ||||||
| * | docstring... | Mike Bayer | 2006-02-14 | 1 | -4/+1 | |
| | | ||||||
| * | latest reorgnanization of the objectstore, the Session is a simpler object ↵ | Mike Bayer | 2006-02-14 | 2 | -90/+94 | |
| | | | | | that just maintains begin/commit state | |||||
| * | lazy load column fix courtesy raul garcia garcia | Mike Bayer | 2006-02-14 | 1 | -1/+1 | |
| | | ||||||
| * | added 'post_update' attribute to PropertyLoader, means to defer processing ↵ | Mike Bayer | 2006-02-13 | 2 | -10/+29 | |
| | | | | | of this property until after the object has been saved, and then to re-sync and force an update. used to break otherwise intra-row cycles. added for "many-to-one" so far. | |||||
| * | more refactoring to session/UOW scope management...under construction ! | Mike Bayer | 2006-02-12 | 1 | -31/+38 | |
| | | ||||||
| * | some tweaks to options, use_alias, live removed | Mike Bayer | 2006-02-12 | 1 | -3/+2 | |
| | | ||||||
| * | assertion | Mike Bayer | 2006-02-12 | 1 | -2/+1 | |
| | | ||||||
| * | 'column' function (make a ColumnClause) is more useful from sql module, ↵ | Mike Bayer | 2006-02-12 | 1 | -5/+1 | |
| | | | | | removed 'column' (make a ColumnProperty) from __init__ | |||||
| * | cleanup and organization of code mostly in properties, making SyncRules clearer, | Mike Bayer | 2006-02-12 | 2 | -125/+173 | |
| | | | | | also "foreignkey" property can be a list, particularly for a self-referential table with a multi-column join condition | |||||
| * | more hammering of defaults. ORM will properly execute defaults and ↵ | Mike Bayer | 2006-02-11 | 1 | -6/+13 | |
| | | | | | post-fetch rows that contain passive defaults | |||||
| * | put assertion in to check for secondary table if secondaryjoin explicit | Mike Bayer | 2006-02-11 | 1 | -0/+2 | |
| | | ||||||
| * | added before_update/after_update | Mike Bayer | 2006-02-11 | 1 | -3/+14 | |
| | | ||||||
| * | objectstore refactored to have more flexible scopes for UnitOfWork | Mike Bayer | 2006-02-10 | 2 | -76/+183 | |
| | | | | | | | central access point is now a Session object which maintains different kinds of scopes for collections of one or more UnitOfWork objects individual object instances get bound to a specific Session | |||||
| * | commented out print statement | Mike Bayer | 2006-02-09 | 1 | -1/+1 | |
| | | ||||||
| * | deprecated "selectalias" argument on eager loader, do use_alias=True | Mike Bayer | 2006-02-09 | 4 | -119/+116 | |
| | | | | | | | | | | | | | | "eager alias" flag will propigate to child eager loaders so the full query comes out OK. mappers/properties have overhauled "copy" methodology. mappers are no longer "singleton" and no longer have elaborate "hash_key" methods - there is a primary mapper associated with a class which is done via direct dictionary relationship, and the options() method on mapper does its own lighter-weight caching of created mappers. the unitofwork does extra work with the mappers it receives to insure its dealing with "the primary" mapper, so that properties can be more liberal about which mapper they reference (i.e. not the primary one). options() works better but still could use a looking-at to see that its not wasteful. simplified mapper() method in __init__. | |||||
| * | trying to get mappers to support having versions against different tables ↵ | Mike Bayer | 2006-02-07 | 3 | -6/+18 | |
| | | | | | | | | for the same class, that dont affect the original class mapper and create objects with the correct identity key support in EagerLoader to better handle "selectalias" when the eager mapper hits another eager mapper, etc | |||||
| * | added cascade_mappers function. somewhat experimental ! | Mike Bayer | 2006-02-06 | 1 | -1/+50 | |
| | | ||||||
| * | added is_dirty method at module level and within UnitOfWork | Mike Bayer | 2006-02-05 | 1 | -3/+18 | |
| | | ||||||
| * | __init__ monkeypatch looks for __init__ in the class' dict rather than via ↵ | Mike Bayer | 2006-02-05 | 1 | -1/+1 | |
| | | | | | getattr(), to bypass inheritance lookups | |||||
| * | started PassiveDefault, which is a "database-side" default. mapper will go | Mike Bayer | 2006-02-05 | 1 | -0/+8 | |
| | | | | | fetch the most recently inserted row if a table has PassiveDefault's set on it | |||||
| * | fixes involving when child object from list items is None - onetoone must ↵ | Mike Bayer | 2006-02-04 | 1 | -5/+7 | |
| | | | | | pass, objectstore.testbackwardsmanipulations with postgres passes | |||||
| * | one-to-one support: | Mike Bayer | 2006-02-04 | 1 | -10/+6 | |
| | | | | | | | | | | rolled the BackrefExtensions into a single GenericBackrefExtension to handle all combinations of list/nonlist properties (such as one-to-one) tweak to properties.py which may receive "None" as "added_items()", in the case of a scalar property instead of a list PropHistory masquerades as a List on the setattr/append delattr/remove side to make one-to-one's automatically work | |||||
| * | switched objectstore begin/commit behavior to do "reentrant counter" | Mike Bayer | 2006-02-03 | 1 | -4/+14 | |
| | | ||||||
| * | deprecated relation(class, table) | Mike Bayer | 2006-02-02 | 1 | -19/+4 | |
| | | | | | changed unit tests/examples to not do it | |||||
| * | merged new cyclical dependency code | Mike Bayer | 2006-02-01 | 3 | -110/+223 | |
| | | | | | EagerRelation gets a fix w/ regards to selectalias | |||||
| * | moved dict init to setattr for auto-__init__ thing | Mike Bayer | 2006-02-01 | 1 | -1/+1 | |
| | | ||||||
| * | took out print statement | Mike Bayer | 2006-01-28 | 1 | -4/+8 | |
| | | ||||||
| * | topological sort can detect cycles, and assemble them into a "big node" with all | Mike Bayer | 2006-01-28 | 1 | -21/+62 | |
| | | | | | the nodes in the cycle aggregated into one node | |||||
| * | working on representing longer circular relationships | Mike Bayer | 2006-01-28 | 1 | -5/+35 | |
| | | ||||||
| * | converted LEFT,RIGHT, CENTER to more reasonable names | Mike Bayer | 2006-01-27 | 1 | -33/+33 | |
| | | ||||||
| * | task dump checks for None | Mike Bayer | 2006-01-27 | 1 | -4/+8 | |
| | | ||||||
| * | refactoring of objectstore to handle cleaning up after itself with less | Mike Bayer | 2006-01-26 | 3 | -51/+45 | |
| | | | | | | | | instruction from properties/mapper objectstore gets an assertion for appending a deleted item mapper has fix for inheritance mapper selectone() etc. set "limit=1" | |||||
| * | adds a traversed list to the list of things to clean up | Mike Bayer | 2006-01-24 | 1 | -1/+1 | |
| | | ||||||
| * | added some echo arguments for uow, pool, propigated from the engine | Mike Bayer | 2006-01-21 | 1 | -6/+8 | |
| | | ||||||
| * | adjustment to dependencies+childtasks attached to circular task - they go | Mike Bayer | 2006-01-21 | 1 | -24/+24 | |
| | | | | | | on just the lead task instead of each per-object task. more tweaks to dumper output | |||||
| * | rewrote objectstore logging | Mike Bayer | 2006-01-21 | 1 | -41/+76 | |
| | | ||||||
| * | comment out dump, reverse check for self-ref task/delete-matchup | Mike Bayer | 2006-01-20 | 1 | -4/+4 | |
| | | ||||||
| * | when breaking a circular task into child tasks, propigate the child tasks ↵ | Mike Bayer | 2006-01-20 | 1 | -7/+21 | |
| | | | | | and the non-self-referring dependencies of the lead task to each child task...else they dont happen ! | |||||
| * | assign_mapper will create a default __init__ method if one doesnt exist | Mike Bayer | 2006-01-16 | 1 | -0/+6 | |
| | | ||||||
| * | checks for relations that override columns and raises an error if ↵ | Mike Bayer | 2006-01-13 | 1 | -2/+5 | |
| | | | | | override_columns_ok not set | |||||
| * | r818@lightspeed: robert | 2006-01-12 18:32:38 +1100 | Robert Leftwich | 2006-01-12 | 1 | -1/+5 | |
| | | | | | Added class name to the TypeError string to make it easier to find constructor problems when mapper is constructing complex mappings | |||||
| * | id key uses hash_key off of table now that its a short string | Mike Bayer | 2006-01-11 | 1 | -3/+2 | |
| | | ||||||
| * | r815@lightspeed: robert | 2006-01-11 10:15:14 +1100 | Robert Leftwich | 2006-01-10 | 1 | -2/+3 | |
| | | | | | Replaced use of repr() with custom identifiers in identity related areas to improve performance | |||||
| * | identity map->weakvaluedictionary | Mike Bayer | 2006-01-10 | 1 | -1/+1 | |
| | | ||||||
| * | added count func to mapper | Mike Bayer | 2006-01-08 | 1 | -2/+19 | |
| | | ||||||
| * | added 'import_instance' to properly deal with out-of-imap objects, | Mike Bayer | 2006-01-08 | 1 | -2/+39 | |
| | | | | | added assertion upon commit that all mapped objects are properly present in the identity map | |||||
| * | modified 'primarytable' idea and 'inheritance' to work better with improved ↵ | Mike Bayer | 2006-01-08 | 2 | -49/+58 | |
| | | | | | | | relational algrebra stuff | |||||
| * | mapper - pks_by_table should store keys in order even tho we dont have a ↵ | Mike Bayer | 2006-01-05 | 2 | -14/+32 | |
| | | | | | | | | | failure case lazyloader can lazyload using mapper.get() if it is appropriate, saves a lot of queries a few more assertions in properties in prep for relations against select statement mappers mapper get() clause is determined upfront to avoid re-generating it | |||||
| * | copyright->2005,2006 | Mike Bayer | 2006-01-03 | 5 | -5/+5 | |
| | | ||||||
