Commits

Author Commit Message Labels Comments Date
ged
correct typo
Mike Bayer
- the "primary_key" argument to mapper() is propigated to the "polymorphic" mapper. primary key columns in this list get normalized to that of the mapper's local table.
Mike Bayer
- fix to select_by(<propname>=<object instance>) -style joins in conjunction with many-to-many relationships, bug introduced in r2556 - the "reverse_direction" flag in _create_lazy_clause works correctly for a many-to-many relationship (i.e. the reverse is on which clause, not which column in the clause, in the case of m2m)
Mike Bayer
added test for "assign a list of objects", ensure cascade/persistence functions
Mike Bayer
fixed LoggingClauseVisitor
Mike Bayer
restored outerjoin test
Mike Bayer
- fix to polymorphic query which allows the original polymorphic_union to be embedded into a correlated subquery [ticket:577]
Mike Bayer
- parenthesis are applied to clauses via a new _Grouping construct. uses operator precedence to more intelligently apply parenthesis to clauses, provides cleaner nesting of clauses (doesnt mutate clauses placed in other clauses, i.e. no 'parens' flag) - added 'modifier' keyword, works like func.<foo> except does not add parenthesis. e.g. select([modifier.DISTINCT(...)]) etc.
Mike Bayer
- _Label propigates "_hide_froms()" so that scalar selects behave more properly with regards to FROM clause #574
Mike Bayer
propigated detach() and invalidate() methods to Connection.
jason kirtland
- Connections can be detached from their pool, closing on dereference instead of returning to the pool for reuse
Mike Bayer
- set max identifier length to 31
Mike Bayer
- fix to long name generation when using oid_column as an order by (oids used heavily in mapper queries)
Mike Bayer
- session.get() and session.load() propigate **kwargs through to query
Mike Bayer
- many-to-many relationships properly set the type of bind params for delete operations on the association table - many-to-many relationships check that the number of rows deleted from the association table by a delete operation matches the expected results
Mike Bayer
- shored up DBAPI descriptions - added link to select() docs in sqlconstruction
Mike Bayer
clarifying some cascade-based unit tests, adding a little more coverage, and trying to remove unneeded parts of dependency.py cascades. also de-emphasizing the whole session.flush([oneobject]) thing since i dont really agree it should be supported
Mike Bayer
- "delete-orphan" no longer implies "delete". ongoing effort to separate the behavior of these two operations.
Mike Bayer
- _Label class overrides compare_self to return its ultimate object. meaning, if you say someexpr.label('foo') == 5, it produces the correct "someexpr == 5".
jason kirtland
Oops, Python 2.5 ternary operator snuck in.
jason kirtland
- Test assoc proxy lazy loads, fixed __set__ race on single scalar assocs
jason kirtland
- New association proxy implementation, implementing complete proxies to list, dict and set-based relation collections (and scalar relations). Extensive tests. - Added util.duck_type_collection
Mike Bayer
- Aliasizer removed. hooray ! - ClauseVisitor has handy chain() method.
jason kirtland
- added sqlalchemy.ext.orderinglist, a custom list class that synchronizes an object attribute with that object's position in the list
jason kirtland
- Use Python 2.5's built-in ElementTree if possible
jason kirtland
- Expanded on the MySQL ENUM 'strict' documentation a little bit. - Oops, clean up after enum unitttest.
jason kirtland
- MySQL ENUM types can now optionally ensure that values are within the enum's allowed range on insert and update, with strict=True - Added new 'dialect' category of unit tests, and migrated MySQL-specific dialect tests there. - Noted the max identifier length in the MySQL dialect (the max alias length, actually)
jason kirtland
Removed an unneeded and troublesome subquery test.
Mike Bayer
some notes on a labeling issue that arises when label truncation doesnt match col truncation
jason kirtland
- allow MySQL column-level CHARACTER SET and COLLATE, plus shortcuts like ASCII, UNICODE, and BINARY. support NATIONAL. - added MySQL-specific reserved words - added tests for MySQL numeric and string column DDL generation - various minor cleanups, also tweak regex to not break emacs syntax hilighting
  1. Prev
  2. Next