Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1 | Mike Bayer | 2006-05-25 | 1 | -263/+0 |
| | |||||
* | fixed a _get_criterion mismatch, cleaned up types + updated types doc | Mike Bayer | 2006-05-05 | 1 | -16/+1 |
| | |||||
* | added from_obj option to select() | Mike Bayer | 2006-05-05 | 1 | -3/+6 |
| | |||||
* | mapper will verify class inheritance scheme; also will not re-init inherited ↵ | Mike Bayer | 2006-04-18 | 1 | -0/+1 |
| | | | | | | property, as the improved attribute system seems to handle inheritance OK and allows the property to keep its correct initialization on the parent exceptions import in query | ||||
* | a little spring cleaning for the util package, etc | Mike Bayer | 2006-04-07 | 1 | -0/+6 |
| | |||||
* | split up Session into Session/LegacySession, added some new constructor args | Mike Bayer | 2006-04-06 | 1 | -2/+3 |
| | | | | | | | | 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 | ||||
* | mapper's querying facilities migrated to new query.Query() object, which can ↵ | Mike Bayer | 2006-04-06 | 1 | -0/+267 |
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 internal unitofwork commit() method to be called flush(). removed all references to 'engine' from mapper module, including adding insert/update specific SQLEngine methods such as last_inserted_ids, last_inserted_params, etc. to the returned ResultProxy so that Mapper need not know which SQLEngine was used for the execute. changes to unit tests, SelectResults to support the new Query object. |