Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
0.1.6...
Tags
rel_0_1_6
Mike Bayer
0.1.6 prep
Mike Bayer
added a failing unittest for inheriting mappers with add_property
Mike Bayer
added patch for mxDateTime support, [ticket:5], courtesy jkakar@kakar.ca
Mike Bayer
latest from j. ellis...
Mike Bayer
more files moving to .txt format plus enhancements to markdown converter
jeff
Added preliminary support for inheritance.
Mike Bayer
install_mod can take strings or module items
Mike Bayer
pool argument adjusts for DBProxy/Pool
Mike Bayer
a little spring cleaning for the util package, etc
Mike Bayer
split up Session into Session/LegacySession, added some new constructor args created AbstractEngine class which provides base for SQLEngine and will also provide base for ConnectionProxy, so SQL binding can be to an engine or specific connection resource ClauseElements get using() method which can take AbstractEngines for execution made more separation between SchemaItems and bound engine
Mike Bayer
mapper's querying facilities migrated to new query.Query() object, which can receive session-specific context via the mapper.using() statement. reuslting object instances will be bound to this session, but query execution still handled by the SQLEngines implicit in the mapper's Table objects. session now propigates to the unitofwork UOWTransaction object, as well as mapper's save_obj/delete_obj via the UOWTransaction it receives. UOWTransaction explicitly calls the Session for the engine corresponding to each Mapper in the flush operation, although the Session does not yet affect the choice of engines used, and mapper save/delete is still using the Table's implicit SQLEngine. changed i…
Mike Bayer
the __iter__ method on historyarraylist seemed to get broked...hmmmm
Mike Bayer
added explicit "session" argument to get(), select_whereclause in mapper, as well as throughout the call-chain for those. lazy loader honors the "session" of the parent object, + added simple unit test
Mike Bayer
this assertion not really needed, esp. if a PickleType is used to take in a list
Mike Bayer
added pickle test
Mike Bayer
the ultimate "hands off" approach to the object's dictionary of managed attributes
Mike Bayer
moves the binding of a TypeEngine object from "schema/statement creation" time into "compilation" time
Mike Bayer
factored oid column into a consistent late-bound pattern, fixing [ticket:146]
rtl
Added cast() to allow use of cast(tbl.c.col as Numeric(4,2)) in select and where clauses. Unit tests for same.
Mike Bayer
put proper return type
Mike Bayer
adjustments to auto-table-aliasing logic (R. Morrison)
Mike Bayer
added a unit test for the "version_id" keyword argument, which passes based on previous changes to Mapper
Mike Bayer
update
Mike Bayer
added 'entity_name' keyword argument to mapper. a mapper is now associated with a class via the class object as well as the optional entity_name parameter, which is a string defaulting to None. any number of primary mappers can be created for a class, qualified by the entity name. instances of those classes will issue all of their load and save operations through their entity_name-qualified mapper, and maintain separate identity from an otherwise equilvalent object.
Mike Bayer
attributes overhaul #2 - attribute manager now tracks class-level initializers strictly through the SmartPropery instances attached to the class, so that attributes retain their natural polymorphic behavior. naming conventions migrating to "managed_attribute", simplifying codepaths.
Mike Bayer
further order_by: order_by() with no arguments should not affect the current order_by clause (same with group_by)
Mike Bayer
ack, fixes to the order by stuff from last night
Mike Bayer
DOH !
Mike Bayer
still tryin to clarify....
  1. Prev
  2. Next