Commits

Author Commit Message Labels Comments Date
Mike Bayer
DB connection errors wrapped in DBAPIErrors
Mike Bayer
added count/count_by to assignmapper, plus a test in activemapper to try it out
Mike Bayer
fixed up boolean datatype for sqlite, mysql, ms-sql
Mike Bayer
still having mappers not getting compiled...sigh...
Mike Bayer
primary key identifier is a list now, not param list, [ticket:236]
Mike Bayer
clarified passivedefault only for INSERT, added brief 'override reflected columns' example
Mike Bayer
slightly less lame version function
Mike 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
Mike Bayer
expunge wasnt de-associating the object with a session
Mike Bayer
activemapper will use threadlocal mod's objectstore if its installed both objectstores no longer subclass SessionContext, get at it via .context attribute instead
Mike Bayer
adjument to regexp for parsing courtesy Barry Warsaw
Mike Bayer
fix to error message for object with mismatched session
Mike Bayer
hey ho alphas got to go
Mike Bayer
works without backrefs too....
Mike Bayer
some refactorings to activemapper, made relationship() class have some polymorphic behavior for initializing its real relation, added support + unittest for self-referential relationship
Mike 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
Mike Bayer
small fix to relation compilation
Mike Bayer
0.2.5
Tags
rel_0_2_5
Mike 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.
Mike Bayer
made mapper compilation "check for remaining mappers" compile anything found, guaranteeing everything to be compiled in all cases
Mike Bayer
removed debug line
Mike 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
Mike Bayer
fixed hyperlink to adv datamapping
Mike Bayer
change exception message
Mike 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
Mike Bayer
some adjustments to activemapper's objectstore to be composed against SessionContext DynamicMetaData checks first for _engine before returning
Mike 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 …
Mike Bayer
added a note about sqlite uris
  1. Prev
  2. Next