Commits

Author Commit Message Labels Comments Date
Mike Bayer
- Numeric and Float types now have an "asdecimal" flag; defaults to True for Numeric, False for Float. when True, values are returned as decimal.Decimal objects; when False, values are returned as float(). the defaults of True/False are already the behavior for PG and MySQL's DBAPI modules. [ticket:646]
Branches
rel_0_4
Mike Bayer
- ColumnCollection (i.e. the 'c' attribute on tables) follows dictionary semantics for "__contains__" [ticket:606]
Branches
rel_0_4
Mike Bayer
- a rudimental sharding (horizontal scaling) system is introduced. This system uses a modified Session which can distribute read and write operations among multiple databases, based on user-defined functions defining the "sharding strategy". Instances and their dependents can be distributed and queried among multiple databases based on attribute values, round-robin approaches or any other user-defined system. [ticket:618]
Branches
rel_0_4
Mike Bayer
deprecated extra arguments on instances()
Branches
rel_0_4
Mike Bayer
removed methods instance_key(), identity_key(), identity()
Branches
rel_0_4
Mike Bayer
- joined-table inheritance will now generate the primary key columns of all inherited classes against the root table of the join only. This implies that each row in the root table is distinct to a single instance. If for some rare reason this is not desireable, explicit primary_key settings on individual mappers will override it. - When "polymorphic" flags are used with joined-table or single-table inheritance, all identity keys are generated against the root class of the inheritance hierarchy; this allows query.get() to work polymorphically using the same caching semantics as a non-polymorphic get. note that this currently does not work with concrete inheritance.
Branches
rel_0_4
jason kirtland
Oops, --log-{info,debug}= args need to accept values...
Branches
rel_0_4
Mike Bayer
patched fix for [ticket:677], thanks !
Branches
rel_0_4
Mike Bayer
ColumnDefault functions pass ExecutionContext to callables which accept a single argument; refactored workings of defaults so that they share the same execution context.
Branches
rel_0_4
jason kirtland
_ConnectionRecord gains a .properties collection, with contents scoped to the lifetime of the underlying DBAPI connection. Accessors on Connections and fairies.
Branches
rel_0_4
Mike Bayer
corrected literals_as_binds to recognize sql.Operators objects for [ticket:675]
Branches
rel_0_4
jason kirtland
Rearrange profiling a bit
Branches
rel_0_4
Mike Bayer
- refinement of connection.execute() , parameter processing behavior - Connection's dealings with params are simplified; generation of ClauseParameters pushed into DefaultDialect. - simplified ClauseParameters. - this is to make room for execute_raw() but I haven't decided how that should look yet.
Branches
rel_0_4
jason kirtland
Finished up the workflow in ormsession test
Branches
rel_0_4
jason kirtland
Refactored test support code, moved most into 'testlib/' Cleaned up imports, all tests should be runnable stand-alone or suite now Updated most of the perf tests Removed dead test suites Added new profiling decorator Added new profilable perf test, 'ormsession' to try to capture a typical workload
Branches
rel_0_4
Mike Bayer
added some of the newer query styles to some inheritance tests. more inheritance + new query stuff needs to be tested
Branches
rel_0_4
Mike Bayer
fixed up testbase coverage to get module-level stuff fixed activemapper tests
Branches
rel_0_4
jason kirtland
dead
Branches
rel_0_4
Mike Bayer
removed small cruftlet
Branches
rel_0_4
Mike Bayer
- fix to _CalculatedClause._copy_internals() behavior so that ClauseAdapter works with _Function objects better - factored AliasedClauses out of EagerLoader into its own unit; Query makes heavy use of it for joins - added support to Query for full interaction between aliased and nonalised joins with appended entities, columns, and externally-mapped columns
Branches
rel_0_4
jason kirtland
Consigned to history.
Branches
rel_0_4
Mike Bayer
- got self-referential query.join()/query.outerjoin() to work. - PropertyLoader adds local_side set which is the opposite of remote_side, makes the self-referential aliasing a snap. - added "id" argument to join()/outerjoin() to allow access to the aliased joins in add_entity(). - added "alias" argument to add_entity() to get at entities selected from an explicit Alias - starting to move EagerLoader.AliasedClasues to a general utility function which will be u…
Branches
rel_0_4
Mike Bayer
filter_by([joinpath], ...) is gone. join([path], aliased=True) replaces it, all subsequent filter() criterion is converted against that alias; represents a much more flexible and consistent solution. needs some tweaks and can then work with self-referential loading too.
Branches
rel_0_4
jason kirtland
Queries now __str__ as their statement
Branches
rel_0_4
jason kirtland
make this test runnable stand-alone
Branches
rel_0_4
Mike Bayer
- merged bind unittest fix from r2999 REV 3000 !!! WOO HOO !
Branches
rel_0_4
Mike Bayer
- added query.populate_existing().. - marks the query to reload all attributes and collections of all instances touched in the query, including eagerly-loaded entities [ticket:660] - added eagerload_all(), allows eagerload_all('x.y.z') to specify eager loading of all properties in the given path
Branches
rel_0_4
Mike Bayer
merged most recent overflow mutex tweak
Branches
rel_0_4
Mike Bayer
dont clobber existing methodnames, [ticket:596]
Branches
rel_0_4
Mike Bayer
implemented Class.any(criterion)
Branches
rel_0_4
  1. Prev
  2. Next