Commits

Author Commit Message Labels Comments Date
Mike Bayer
- sorry, I really don't want metaclass recipes in the main documentation. Don't want people using them, thinking they're needed in the general case, confused, etc. The two sections here are moved to the wiki for now.
Mike Bayer
- Fixed bug whereby "passive_deletes='all'" wasn't passing the correct symbols to lazy loaders during flush, thereby causing an unwarranted load. [ticket:2013]
Mike Bayer
- Firebird numeric type now checks for Decimal explicitly, lets float() pass right through, thereby allowing special values such as float('inf'). [ticket:2012]
Mike Bayer
doc updates
Mike Bayer
finish an unfinished sentence
Mike Bayer
- add support for pickling with mutable scalars, mutable composites - add pickle/unpickle events to ORM events. these are needed for the mutable extension. - finish mutable extension documentation, consolidate examples, add full descriptions
Mike Bayer
- whitespace removal bonanza
Mike Bayer
- clean up copyright, update for 2011, stamp every file with a consistent tag - AUTHORS file
Mike Bayer
mutable docfile
Mike Bayer
- add length to varchars
Mike Bayer
- add QueryContext to load(), refresh() - add list of attribute names to refresh() - ensure refresh() only called when attributes actually refreshed - tests. [ticket:2011]
Mike Bayer
- move session/mapper events/extension tests into orm/test_events.py
Mike Bayer
- removes the "on_" prefix.
Mike Bayer
- factor out the dependency on the "on_" name
Mike Bayer
- they don't want "on_". First step, change the naming convention on Events so that non-events are just _name.
Mike Bayer
- A little more verbiage to the "primaryjoin" error, in an unusual condition that the join condition "works" for viewonly but doesn't work for non-viewonly, and foreign_keys wasn't used - adds "foreign_keys" to the suggestion. Also add "foreign_keys" to the suggestion for the generic "direction" error.
Mike Bayer
- mutable examples now move into sqlalchemy.ext.mutable - streamline interfaces, get Mutable/MutableComposite to be as minimal in usage as possible - docs for mutable, warnings regrarding mapper events being global - move MutableType/mutable=True outwards, move orm tests to its own module, note in all documentation - still need more events/tests for correct pickling support of composites, mutables. in the case of composites its needed even without mut…
Mike Bayer
- restore mapper.get_property() to use the _props dict. at the moment synonyms for relationships might just be taken out altogether, since they aren't documented and are of little use. a plain proxying descriptor, combined with attribute-based usage with Query (as opposted to naming it by string) can do the same thing more simply. - add event support to composites, change the model around so that the composite is generated at the point of load. - add a recipe for…
Mike Bayer
- simplified the descriptor system to no longer use the hybrid extension, instead presenting the Proxy(QueryableAttribute) object as the public facing interface. This simplifies the descriptor system and will allow straightforward integration with attribute events.
Mike Bayer
- add standalone tests for descriptor instrumentation. these begin to replace what we're testing with synonyms and comparables in test_mapper
Mike Bayer
- merge rfc0b9df5d9e0 from 0.6 branch
Mike Bayer
- remove some more 2.4 targets
Mike Bayer
py3k fixes
Mike Bayer
- link to the events we use
Mike Bayer
- docs for mutable events example
Mike Bayer
- on_expire event, since we are starting to build off of events around full lifecycle - composite will use events to do everything we want it to, i.e. storing the composite in __dict__, invalidating it on change of any of the columns. - will reinstate mutability of composites via callable attached to the composite - but userland code will still need to establish change event listening on the composite itself, perhaps via a "mutable" mixin like the scalars.py example,…
Mike Bayer
- add a new "on mapper configured" event - handy !
Mike Bayer
bugfix
Mike Bayer
- more skippage of 2.4
Mike Bayer
- restore declarative support for "composite" - add an example of mutable scalars with events
  1. Prev
  2. Next