Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- *slight* support for binary, but still need to figure out how to insert reasonably large values (over 4K). requires auto_setinputsizes=True sent to create_engine(), rows must be fully fetched individually, etc.
Tags
rel_0_3_4
Mike Bayer
attempting to get oracle binary working
Mike Bayer
0.3.4
Mike Bayer
- added support for column "key" attribute to be useable in row[<key>]/row.<key>
Jonathan Ellis
justify text
Jonathan Ellis
add example of joining to labeled table
Jonathan Ellis
split out SelectableClassType from TableClassType, so we don't have to do an isinstance check for each dml op
Mike Bayer
relationships no longer compile against the "selectable" mapper (i.e. the polymorphic mapper). join conditions, foreign keys etc. are configured against the actual mappers used in the relationship in all cases. the lazy and eager loaders in turn "adapt" their lazy/eager clauses to that of the "selectable" mapper if one is present. this is because the join conditions between the mapper's base tables are *far* easier to work with and detect direction etc. compared …
Mike Bayer
added "instances" to assign_mapper funcs [ticket:433]
Mike Bayer
added a session transaction test
Mike Bayer
oops, change from yesterday fails the zblog tests...now i understand !
Mike Bayer
better error message from [ticket:429]
Mike Bayer
added merge unit test from [ticket:430]
Mike Bayer
added recursion check to merge
Jonathan Ellis
selectby -> select_by
Mike Bayer
docs: [ticket:345], [ticket:356], [ticket:48], [ticket:403], [ticket:394], cleanup/completion of keyword arg documentation for create_engine(), mapper(), and relation()
Mike Bayer
- mysql table create options work on a generic passthru now, i.e. Table(..., mysql_engine='InnoDB', mysql_collate="latin1_german2_ci", mysql_auto_increment="5", mysql_<somearg>...), helps [ticket:418]
Mike Bayer
- added "validate=False" argument to assign_mapper, if True will insure that only mapped attributes are named [ticket:426]
Mike Bayer
starting to refactor adaptation of inherited properties out of the MapperProperty and into the mapper for now
Mike Bayer
- tightened down conditions used to locate "relation direction", associating the "foreignkey" of the relationship with the "primaryjoin". the column match now must be exact, not just "corresponding". this enables self-referential relationships on a polymorphic mapper. - a little bit of improvement to the concept of a "concrete" inheritance mapping, though that concept is not well fleshed out yet (added test case to support concrete mappers on top of a polymorph…
Mike Bayer
removed
Mike Bayer
- fix to "proxy=True" behavior on synonym()
Mike Bayer
- trailing underscores are trimmed from func.<xxx> calls, such as func.if_()
Mike Bayer
- changed "BooleanExpression" to subclass from "BinaryExpression", so that boolean expressions can also follow column-clause behaviors (i.e. label(), etc). - query.select() had to become more picky about what it considers to be a full "selectable" and what it considers to be a fragment that represents a WHERE criterion - looks for the presence of a FromClause now (which is still pretty liberal, since i originally intended the check to be for select() only). the previous excepti…
Mike Bayer
- fixed bug where delete-orphan basically didn't work with many-to-many relationships [ticket:427], backref presence generally hid the symptom
Mike Bayer
added testcase for upcoming ticket
Mike Bayer
- another fix to subquery correlation so that a subquery which has only one FROM element will *not* correlate that single element, since at least one FROM element is required in a query.
Mike Bayer
has_table wasnt handling case-sensitive table names
Mike Bayer
- some deeper error checking when compiling relations, to detect an ambiguous "primaryjoin" in the case that both sides of the relationship have foreign key references in the primary join condition
Mike Bayer
removed unnecessary value grab
  1. Prev
  2. Next