summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/shard.py
Commit message (Collapse)AuthorAgeFilesLines
* - [removed] Deprecated identifiers removed:Mike Bayer2012-06-211-15/+0
| | | | | | | | | | | | | | * allow_null_pks mapper() argument (use allow_partial_pks) * _get_col_to_prop() mapper method (use get_property_by_column()) * dont_load argument to Session.merge() (use load=True) * sqlalchemy.orm.shard module (use sqlalchemy.ext.horizontal_shard)
* happy new yearMike Bayer2012-01-041-1/+1
|
* - clean up copyright, update for 2011, stamp every file withMike Bayer2011-01-021-2/+2
| | | | | a consistent tag - AUTHORS file
* - The sqlalchemy.orm.shard module now becomes an extension,Mike Bayer2010-03-281-107/+5
| | | | | sqlalchemy.ext.horizontal_shard. The old import works with a deprecation warning.
* - Removed unused `load()` method from ShardedQuery.Mike Bayer2009-11-151-10/+0
| | | | [ticket:1606]
* - Fixed shard_id argument on ShardedSession.execute().Mike Bayer2008-12-281-1/+1
| | | | [ticket:1072]
* - fixed "double iter()" call causing bus errorsMike Bayer2008-11-271-8/+2
| | | | | | in shard API, removed errant result.close() left over from the 0.4 version. [ticket:1099] [ticket:1228]
* - Dialects can now generate label names of adjustable length.Mike Bayer2008-11-051-2/+2
| | | | | | | | | | | | | Pass in the argument "label_length=<value>" to create_engine() to adjust how many characters max will be present in dynamically generated column labels, i.e. "somecolumn AS somelabel". Any value less than 6 will result in a label of minimal size, consiting of an underscore and a numeric counter. The compiler uses the value of dialect.max_identifier_length as a default. [ticket:1211] - removed ANON_NAME regular expression, using string patterns now - _generated_label() unicode subclass is used to indicate generated names which are subject to truncation
* make Query._clone() class-agnosticMike Bayer2008-06-021-5/+0
|
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-30/+41
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* introductory docstring bonanzaMike Bayer2007-12-181-0/+7
|
* - ident passed to id_chooser in shard.py always a listMike Bayer2007-10-011-1/+2
|
* - created a link between QueryContext and SelectionContext; the attributeMike Bayer2007-09-261-5/+5
| | | | | | | | | | | | | | | | dictionary of QueryContext is now passed to SelectionContext inside of Query.instances(), allowing messages to be passed between the two stages. - removed the recent "exact match" behavior of Alias objects, they're back to their usual behavior. - tightened up the relationship between the Query's generation of "eager load" aliases, and Query.instances() which actually grabs the eagerly loaded rows. If the aliases were not specifically generated for that statement by EagerLoader, the EagerLoader will not take effect when the rows are fetched. This prevents columns from being grabbed accidentally as being part of an eager load when they were not meant for such, which can happen with textual SQL as well as some inheritance situations. It's particularly important since the "anonymous aliasing" of columns uses simple integer counts now to generate labels.
* - fixes to ShardedSession to work with deferred columns [ticket:771].Mike Bayer2007-09-081-7/+7
| | | | | | | - user-defined shard_chooser() function must accept "clause=None" argument; this is the ClauseElement passed to session.execute(statement) and can be used to determine correct shard id (since execute() doesn't take an instance)
* Removed unused imports, other import adjustments per pyflakesJason Kirtland2007-08-131-0/+1
|
* #725 add query arg to id_chooser()Mike Bayer2007-08-101-5/+6
|
* docstring stuffMike Bayer2007-08-051-1/+1
|
* - added hooks for alternate session classes into sessionmakerMike Bayer2007-08-031-1/+4
| | | | - moved shard example/unittest over to sessionmaker
* - added Session constructor which turns autoflush/transactional onMike Bayer2007-07-291-0/+2
| | | | | | | - Session is used by unitofwork unit test now as well as session.py tests - fixes to table/schema reflection broken last night - doc updates - other unittest fixes
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-0/+112
maintenance branch in branches/rel_0_3.