Commits

Author Commit Message Labels Comments Date
Mike Bayer
typo
Mike Bayer
- classical mappings - break out eager loads add contains eager again - edits
Mike Bayer
edit
Mike Bayer
tutorial content finished, needs fresh proofread as well as corrections to the SQL for all the counts
Mike Bayer
- Repaired edge case where mapper would fail to fully update internal state when a relationship on a new mapper would establish a backref on the first mapper. - continuing with tutorial, moving eager loading into its own place and describing more fully
Mike Bayer
- rework tutorial to be all declarative, all the time - add detail to declarative docs about base classes
Mike Bayer
sigh...*NOW* fix it for py3k so the next transformer doesn't squash it
Mike Bayer
fix a test
Mike Bayer
- Query will convert an OFFSET of zero when slicing into None, so that needless OFFSET clauses are not invoked. - mssql: "0" is accepted as an argument for limit() which will produce "TOP 0". [ticket:2222] - add tests to default compiler test for LIMIT/OFFSET generation
Mike Bayer
- Fixed bug in query.join() which would occur in a complex multiple-overlapping path scenario, where the same table could be joined to twice. Thanks *much* to Dave Vitek for the excellent fix here. [ticket:2247]
Mike Bayer
- use itertools.count() plus mutex for Query _new_runid, psycopg2 server side cursor names, mentinoed in [ticket:2247]
Mike Bayer
- second pass through association proxy docs, some more links on any()/has(), MapperProperty
Mike Bayer
- rewrite the docs for association proxy using declarative, add new examples, querying, etc., part of [ticket:2246] - add some accessors to AssociationProxy for attributes, test in join(), [ticket:2236] - update relationship docs to talk about callables, part of [ticket:2246]
Mike Bayer
- Ensured that the same ValueError is raised for illegal date/time/datetime string parsed from the database regardless of whether C extensions are in use or not.
Mike Bayer
link date/time classes correctly, helps [ticket:2244]
Mike Bayer
link date/time classes correctly, helps [ticket:2244]
Branches
rel_0_6
Mike Bayer
- epic rewrite of Query.join documentation - remove cruft from tutorial regarding obsolete orm.join, old calling forms
Mike Bayer
- Added after_soft_rollback() Session event. This event fires unconditionally whenever rollback() is called, regardless of if an actual DBAPI level rollback occurred. This event is specifically designed to allow operations with the Session to proceed after a rollback when the Session.is_active is True. [ticket:2241] - SessionTransaction is mentioned in public docs, many more docstrings for events etc. otherwise
Mike Bayer
Added tag rel_0_7_2 for changeset 3e75f284f253
Mike Bayer
0.7.2 + release date
Tags
rel_0_7_2
Mike Bayer
fix the test
Mike Bayer
- Load of a deferred() attribute on an object where row can't be located raises ObjectDeletedError instead of failing later on; improved the message in ObjectDeletedError to include other conditions besides a simple "delete". [ticket:2191] - break up test_get_refreshes() in test_expire
Mike Bayer
- document get_bind(), [ticket:1053] - ensure mapper=None in get_bind()
Mike Bayer
- document get_bind(), [ticket:1053] - ensure mapper has "None" default for get_bind()
Branches
rel_0_6
Mike Bayer
- add CoerceUTF8 example - New feature: with_variant() method on all types. Produces an instance of Variant(), a special TypeDecorator which will select the usage of a different type based on the dialect in use. [ticket:2187]
Mike Bayer
- Fixed bug where query.join() + aliased=True from a joined-inh structure to itself on relationship() with join condition on the child table would convert the lead entity into the joined one inappropriately. [ticket:2234]
Branches
rel_0_6
Mike Bayer
- Fixed bug where query.join() + aliased=True from a joined-inh structure to itself on relationship() with join condition on the child table would convert the lead entity into the joined one inappropriately. [ticket:2234] Also in 0.6.9.
Mike Bayer
- Added public attribute ".validators" to Mapper, an immutable dictionary view of all attributes that have been decorated with the @validates decorator. [ticket:2240] courtesy Stefano Fontanelli
Mike Bayer
- SQLite dialect no longer strips quotes off of reflected default value, allowing a round trip CREATE TABLE to work. This is consistent with other dialects that also maintain the exact form of the default. [ticket:2189]
Mike Bayer
- rework Annotated to no longer use __cmp__(), supply an __eq__() that works with ColumnElement as well as works with non-__eq__() suppliers, works with sets, on Py3K as well.
  1. Prev
  2. Next