1. diana clarke
  2. sqlalchemy-2385

Commits

Author Commit Message Date Builds
Michael Bayer
DB connection errors wrapped in DBAPIErrors
Michael Bayer
added count/count_by to assignmapper, plus a test in activemapper to try it out
Michael Bayer
fixed up boolean datatype for sqlite, mysql, ms-sql
Michael Bayer
still having mappers not getting compiled...sigh...
Michael Bayer
primary key identifier is a list now, not param list, [ticket:236]
Michael Bayer
clarified passivedefault only for INSERT, added brief 'override reflected columns' example
Michael Bayer
slightly less lame version function
Michael Bayer
sqlite detects version and disables CAST if version < 3.2.3 fixes to unittests, mapper extension to work better with setting/unsetting extensions objectstore objects get 'session' attribute
Michael Bayer
expunge wasnt de-associating the object with a session
Michael Bayer
activemapper will use threadlocal mod's objectstore if its installed both objectstores no longer subclass SessionContext, get at it via .context attribute instead
Michael Bayer
adjument to regexp for parsing courtesy Barry Warsaw
Michael Bayer
fix to error message for object with mismatched session
Michael Bayer
hey ho alphas got to go
Michael Bayer
works without backrefs too....
Michael Bayer
some refactorings to activemapper, made relationship() class have some polymorphic behavior for initializing its real relation, added support + unittest for self-referential relationship
Michael Bayer
added workaround for funny pragma behavior on windows pysqlite singletonthreadpool has a dispose() method, used by proxy_engine test to better clean up after itself on windows
Michael Bayer
small fix to relation compilation
Michael Bayer
0.2.5
Tags
rel_0_2_5
Michael Bayer
took out that whole compilation dependency thing. just need to loop through mapper_registry and compile whatever is not compiled. the "non-reentrant" compile() method, which is a product of the whole compilation dependency tangent, makes this pretty easy. So it was a pretty roundabout way to go for ultimately a pretty small change to compilation.
Michael Bayer
made mapper compilation "check for remaining mappers" compile anything found, guaranteeing everything to be compiled in all cases
Michael Bayer
removed debug line
Michael Bayer
ordering of UPDATE and DELETE statements within groups is now in order of primary key values, for more deterministic ordering after_insert/delete/update mapper extensions now called per object, not per-object-per-table fixed import in firebird.py
Michael Bayer
fixed hyperlink to adv datamapping
Michael Bayer
change exception message
Michael Bayer
got MS-SQL support largely working, including reflection, basic types, fair amount of ORM stuff, etc. 'rowcount' label is reseved in MS-SQL and had to change in sql.py count() as well as orm.query
Michael Bayer
some adjustments to activemapper's objectstore to be composed against SessionContext DynamicMetaData checks first for _engine before returning
Michael Bayer
fixes to attributes/related so that get_history with passive=True returns no AttributeHistory object if an untriggered callable was found (not sure how this used to work OK....)
cleverdevil
Put back in the foreign-key checking code in process_relationships for ActiveMapper. It looks like it is required by at least one person, so for now the code will stay in!
cleverdevil
There were two significant changes in this commit: * Added implicit primary keys to ActiveMapper. Now, if you do not speicfy a primary key on your objects when declaring them, an Integer primary key called `id` will automatically be added to your objects for you. * Commented out a large chunk of the process_relationships function that should no longer be necessary thanks to some of the deferred mapper compilation that was added in …
Michael Bayer
added a note about sqlite uris
  1. Prev
  2. Next