Commits

Author Commit Message Labels Comments Date
Christoph Zwerschke
Typo in docstring.
Christoph Zwerschke
Fix broken error message if a tuple instance is passed as column.
Mike Bayer
- Added new flag expire_on_flush=False to column_property(), marks those properties that would otherwise be considered to be "readonly", i.e. derived from SQL expressions, to retain their value after a flush has occurred, including if the parent object itself was involved in an update.
Mike Bayer
- adjust some tests and such to work better with a mysql 5.5 install - Added mysql_length parameter to Index construct, specifies "length" for indexes. [ticket:2293]
Mike Bayer
- Fixed bug related to [ticket:2141] whereby the same modified index behavior in PG 9 affected primary key reflection on a renamed column. [ticket:2291].
Branches
rel_0_6
Mike Bayer
- Fixed bug related to [ticket:2141] whereby the same modified index behavior in PG 9 affected primary key reflection on a renamed column. [ticket:2291]. Also in 0.6.9.
Mike Bayer
add a test to confirm alter table of pk column gets reflected
Mike Bayer
- a CREATE TABLE will put the COLLATE option after CHARSET, which appears to be part of MySQL's arbitrary rules regarding if it will actually work or not. [ticket:2225]
Branches
rel_0_6
Mike Bayer
undo that change with the _, it doesn't break round trips
Mike Bayer
- a CREATE TABLE will put the COLLATE option after CHARSET, which appears to be part of MySQL's arbitrary rules regarding if it will actually work or not. [ticket:2225] - reflecting a MySQL table will ensure that the options added to the Table at the table.kwargs level have spaces converted to underscores. This is a slight behavioral change specifically to the "mysql_default_charset" option which previously would not be symmetrical.
Mike Bayer
- Added "postgresql_using" argument to Index(), produces USING clause to specify index implementation for PG. [ticket:2290]. Thanks to Ryan P. Kelly for the patch.
Mike Bayer
- Enhanced the instrumentation in the ORM to support Py3K's new argument style of "required kw arguments", i.e. fn(a, b, *, c, d), fn(a, b, *args, c, d). Argument signatures of mapped object's __init__ method will be preserved, including required kw rules. [ticket:2237]
Mike Bayer
- Fixed bug whereby mapper.order_by attribute would be ignored in the "inner" query within a subquery eager load. [ticket:2287].
Branches
rel_0_6
Mike Bayer
- Fixed bug whereby mapper.order_by attribute would be ignored in the "inner" query within a subquery eager load. [ticket:2287]. Also in 0.6.9.
Mike Bayer
- SQLSoup will not be included in version 0.8 of SQLAlchemy; while useful, we would like to keep SQLAlchemy itself focused on one ORM usage paradigm. SQLSoup will hopefully soon be superseded by a third party project. [ticket:2262]
Mike Bayer
warn when a subclass' base uses @declared_attr for a regular column - does not propagate to subclasses. [ticket:2283]
Mike Bayer
improved docs on select_from() [ticket:2274]
Mike Bayer
improved docs on select_from() [ticket:2274]
Branches
rel_0_6
Mike Bayer
- Adjusted dictlike-polymorphic.py example to apply the CAST such that it works on PG, other databases. [ticket:2266]
Mike Bayer
- Adjusted dictlike-polymorphic.py example to apply the CAST such that it works on PG, other databases. [ticket:2266]
Branches
rel_0_6
Mike Bayer
fix test
Mike Bayer
fix tests here, mssql/mysql are mutually exclusive about x IN/= <subquery> at least when LIMIT is present
Mike Bayer
- When an open Session is garbage collected, the objects within it which remain are considered detached again when they are add()-ed to a new Session. This is accomplished by an extra check that the previous "session_key" doesn't actually exist among the pool of Sessions. [ticket:2281]
Mike Bayer
- The String type now generates VARCHAR2 on Oracle which is recommended as the default VARCHAR. Added an explicit VARCHAR2 and NVARCHAR2 to the Oracle dialect as well. Using NVARCHAR still generates "NVARCHAR2" - there is no "NVARCHAR" on Oracle - this remains a slight breakage of the "uppercase types always give exactly that" policy. VARCHAR still generates "VARCHAR", keeping with the policy. If Oracle were to…
Mike Bayer
- The integer "id" used to link a mapped instance with its owning Session is now generated by a sequence generation function rather than id(Session), to eliminate the possibility of recycled id() values causing an incorrect result, no need to check that object actually in the session. [ticket:2280]
Mike Bayer
- The entry point resolution supported by create_engine() now supports resolution of individual DBAPI drivers on top of a built-in or entry point-resolved dialect, using the standard '+' notation - it's converted to a '.' before being resolved as an entry point. [ticket:2286]
Mike Bayer
more specific
Mike Bayer
document CircularDependencyError. [ticket:2285]
Mike Bayer
- The behavior of =/!= when comparing a scalar select to a value will no longer produce IN/NOT IN as of 0.8; this behavior is a little too heavy handed (use in_() if you want to emit IN) and now emits a deprecation warning. To get the 0.8 behavior immediately and remove the warning, a compiler recipe is given at http://www.sqlalchemy.org/docs/07/dialects/mssql.html#scalar-select-comparisons to override the behavior of visi…
Mike Bayer
- Modified Column.copy() to use _constructor(), which defaults to self.__class__, in order to create the new object. This allows easier support of subclassing Column. [ticket:2284]
  1. Prev
  2. Next