summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1Mike Bayer2006-05-251-10/+4
|
* mapper's querying facilities migrated to new query.Query() object, which can ↵Mike Bayer2006-04-061-2/+3
| | | | | | | | | 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.
* introducing...the mods package ! the SelectResults thing moves as the first modMike Bayer2006-03-311-1/+2
|
* engine argument on tables optionalMike Bayer2006-03-021-0/+4
| | | | | test suite uses BaseProxyEngine as a base for the tester engine documented global proxy engine
* made SchemaEngine more prominent as the base of Table associationMike Bayer2006-03-011-0/+4
| | | | | | | | | BaseProxyEngine descends from SchemaEngine fixes to sqlite/postgres reflection to use the correct engine for table lookups Table engine can be none which will default to schema.default_engine (although its still positional for now, so still needs to be explicit to make room for Columns) __init__ sets default_engine to be a blank ProxyEngine fixes to test suite to allow --db proxy.<dbname> to really test proxyengine
* merged sql_rearrangement branch , refactors sql package to work standalone withMike Bayer2006-02-251-1/+1
| | | | | clause elements including tables and columns, schema package deals with "physical" representations
* exception package added, support throughoutMike Bayer2006-02-191-0/+1
|
* copyright->2005,2006Mike Bayer2006-01-031-1/+1
|
* license switchMike Bayer2005-12-311-13/+2
|
* rearranging mapper/objectstore into a subdirectory, breaking up files since ↵Mike Bayer2005-12-031-6/+6
| | | | they are huge
* more tweaks to import schemeMike Bayer2005-11-301-1/+2
|
* migrated __ALL__ to __all__, oops, and reworked moduleMike Bayer2005-11-301-0/+5
| | | | import scheme
* ramping upMike Bayer2005-07-071-0/+16
|
* Initial revisionMike Bayer2005-07-011-0/+1