Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
0.6.1
Tags
rel_0_6_1
Mike Bayer
fix this test for oracle
Mike Bayer
mapper.py is entirely 79 char lines now
Mike Bayer
change the weakkeydict to be just an LRU cache. Add tests for the "many combinations of UPDATE keys" issue.
Mike Bayer
shorten lines to 78 char on _save_obj, _delete_obj, related. much more to go for mapper.py
Mike Bayer
reduce the calls to execution_options and weakkeydict.setdefault
Mike Bayer
- Pool classes will reuse the same "pool_logging_name" setting after a dispose() occurs. - Engine gains an "execution_options" argument and update_execution_options() method, which will apply to all connections generated by this engine. - Added more aggressive caching to the mapper's usage of UPDATE, INSERT, and DELETE expressions. Assuming the statement has no per-object SQL expressions attached, the expression objects are cached by the mapper after the first create, and their comp…
Mike Bayer
79 char lines for base.py
Mike Bayer
- Fixed concatenation of constraints when "PRIMARY KEY" constraint gets moved to column level due to SQLite AUTOINCREMENT keyword being rendered. [ticket:1812] - remove some extra space in between constraint DDL - added alias() to binary comparison test, fixing pg + mysql failures
Mike Bayer
- Re-established support for Oracle 8 with cx_oracle, including that use_ansi is set to False automatically, NVARCHAR2 and NCLOB are not rendered for Unicode, "native unicode" check doesn't fail, cx_oracle "native unicode" mode is disabled, VARCHAR() is emitted with bytes count instead of char count. [ticket:1808]
Mike Bayer
- FOR UPDATE is emitted in the syntactically correct position when limit/offset is used, i.e. the ROWNUM subquery. However, Oracle can't really handle FOR UPDATE with ORDER BY or with subqueries, so its still not very usable, but at least SQLA gets the SQL past the Oracle parser. [ticket:1815]
Mike Bayer
- Columns of _Binary type (i.e. LargeBinary, BLOB, etc.) will coerce a "basestring" on the right side into a _Binary as well so that required DBAPI processing takes place.
Mike Bayer
- Fixed regression introduced in 0.6.0 unit of work refactor that broke updates for bi-directional relationship() with post_update=True. [ticket:1807]
Mike Bayer
new link for pymssql #1810
Mike Bayer
docs on dispose
Mike Bayer
disclaimer for the "type=None" semi-feature
Mike Bayer
- Added table.add_is_dependent_on(othertable), allows manual placement of dependency rules between two Table objects for use within create_all(), drop_all(), sorted_tables. [ticket:1801]
Mike Bayer
- Added internal warning in case an instance without a full PK happened to be expired and then was asked to refresh. [ticket:1797]
Mike Bayer
- fixed __setstate__ method of CollectionAdapter to not fail during deserialize where parent InstanceState not yet unserialized. [ticket:1802]
Mike Bayer
- func.XXX() doesn't inadvertently resolve to non-Function classes (e.g. fixes func.text()). [ticket:1798]
Mike Bayer
some pep-8ing
Mike Bayer
- the _make_proxy() method of ColumnClause and Column now use self.__class__ to determine the class of object to be returned instead of hardcoding to ColumnClause/Column, making it slightly easier to produce specific subclasses of these which work in alias/subquery situations.
Mike Bayer
- expr.in_() now accepts a text() construct as the argument. Grouping parenthesis are added automatically, i.e. usage is like `col.in_(text("select id from table"))`. [ticket:1793]
Mike Bayer
- session.merge() will not expire attributes on the returned instance if that instance is "pending". [ticket:1789]
Mike Bayer
- func.sysdate() emits "SYSDATE()", i.e. with the ending parenthesis, on MySQL. [ticket:1794]
Mike Bayer
- Added 'connection shutdown' to the list of exception strings which indicate a dropped connection. [ticket:1646]
Mike Bayer
add a note about native unicode mode, [ticket:1792]
Mike Bayer
- the SqlSoup constructor accepts a `base` argument which specifies the base class to use for mapped classes, the default being `object`. [ticket:1783]
Mike Bayer
add more insert examples #1791
Mike Bayer
merge tip
  1. Prev
  2. Next