Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
cast converted into its own ClauseElement so that it can have an explicit compilation function in ANSICompiler MySQLCompiler then skips most CAST calls since it only seems to support the standard syntax for Date types; other types now a TODO for MySQL then, polymorphic_union() function now CASTs null()s to the type corresponding to the columns in the UNION, since postgres doesnt like mixing NULL with integer types (long road for that .....)
Tags
rel_0_2_3
Mike Bayer
if an object fails construction, doesnt get added to the session
Mike Bayer
updates
Mike Bayer
unsupported unit test on mysql
Mike Bayer
more intelligent "removal" of list items when a list attribute is replaced, doesnt actually "remove" the items from teh replaced list just marks them as "removed" from the parent object for history purposes
Mike Bayer
removed historyarray test ForeignKey is more intelligent about locating the parent table it represents, in the case that its attached to a CompoundSelect column which has multiple "originals", some of which might not be schema.Columns
Mike Bayer
fixed bug where if a many-to-many table mapped as "secondary" had other cols in it, delete operations would try to match up on those columns. also fixed bug in new attributes if you set a list based attribute to a blank list, properly fires the 'delete' event for the elements of the previous list
Mike Bayer
fixed 'port' attribute of URL to be an integer if present [ticket:209]
Mike Bayer
some adjustments
Mike Bayer
merged attributes rewrite
Mike Bayer
if an item attached to a parent is found to be already in the session, then the "save-update" cascade operation doesnt take place. currently this prevents unncessessary cascading due to backref events, which was a massive speed hit.
Tags
pre_attribute_rewrite
Mike Bayer
fixed bug where Column with redefined "key" property wasnt getting type conversion happening in the ResultProxy [ticket:207]
Mike Bayer
fixed nested rollbacks
Mike Bayer
unit tests for dangling subquery, many-to-many clear-and-resave
Mike Bayer
adjustment to better allow textual from clauses
Mike Bayer
"parent track" function needed to be more specific to the parent class
Mike Bayer
separated standalone between(), column.between(), put literal checking for both, favor column.between()
Mike Bayer
fixed typing for between() operator, [ticket:202]
Mike Bayer
fixed module scoping for class_mapper [ticket:201]
Mike Bayer
late compilation of mappers. now you can create mappers in any order, and they will compile their internal state when first used in a query or flush operation (or their props or 'c'/'columns' attributes are used). includes various cleanups and fixes in support of the change, including some unit test changes, additional unit tests.
Mike Bayer
possible fix to cascade_mappers
Mike Bayer
fixed [ticket:200]
cleverdevil
Further improved the process_relationships function to handle the ordering of class definitions better. The function was only looking at relationships, not foreign keys, and was making some improper assumptions. The unit tests all still pass, and now some of my own code actually works, regardless of the order that I define the classes in.' 'lib/sqlalchemy/ext/activemapper.py
Mike Bayer
fixed bug where tables with schema name werent getting indexed in metadata correctly
sean
Copy __name__ and __doc__ from oldinit.
Mike Bayer
fix to backref when its none for one-to-one
Mike Bayer
added "NonExistentTable" exception throw to reflection, courtesy lbruno@republico.estv.ipv.pt, for [ticket:138]
Mike Bayer
factored out "inheriting_tasks" member of UOWTask. all "polymorphic traversal" is done via the polymorphic_tasks() method.
Mike Bayer
HashSet is gone, uses set() for most sets in py2.4 or sets.Set. ordered set functionality supplied by a subclass of sets.Set
Mike Bayer
"foreignkey" property of PropertyLoader is a sets.Set. removed "foreigntable". simplified/fixed foreign key location in _find_dependent(), fixes [ticket:151]
  1. Prev
  2. Next