Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
- Column-entities (i.e. query(Foo.id)) copy their state more fully when queries are derived from themselves + a selectable (i.e. from_self(), union(), etc.), so that join() and such have the correct state to work from. [ticket:1853] - Fixed bug where Query.join() would fail if querying a non-ORM column then joining without an on clause when a FROM clause is already present, now raises a checked exception the same way it does when the clause is not present. [ticket:1853]
Tags
rel_0_6_3
Mike Bayer
- More tweaks to cx_oracle Decimal handling. "Ambiguous" numerics with no decimal place are coerced to int at the connection handler level. The advantage here is that ints come back as ints without SQLA type objects being involved and without needless conversion to Decimal first. Unfortunately, some exotic subquery cases can even see different types between individual result rows, so the Numeric handler, when instructed to return Decimal, can't take full advantage of "native decimal" mode and must run isinstance() on every value to check if its Decimal already. Reopen of [ticket:1840]
Mike Bayer
- PG doc updates - pypostgresql has 15 errors, 3 failures, this probably puts it in the "yes" as opposed to the "partial" support category. [ticket:1850]
Mike Bayer
- _extract_error_code now expects the raw DBAPI error in all cases for all four MySQL dialects. has_table() passes in the "orig" from the SQLAlchemy exception. continuing of [ticket:1848]
Mike Bayer
restore py2k directive that got whacked by python tidy
Mike Bayer
- pull out type() ahead of time to cut down on fn calls. Would replace this with set(dir(self)) but not sure if some class schemes may have issues with dir() (also for low numbers of args, not using the set() probably faster).
Mike Bayer
- The _extract_error_code() method now works correctly with the "mysqldb" dialect. Previously, the reconnect logic would fail for OperationalError conditions, however since MySQLdb has its own reconnect feature, there was no symptom here unless one watched the logs. [ticket:1848]
Mike Bayer
tidy
Mike Bayer
test/dialect
Mike Bayer
tidy test/base, test/ex, test/ext
Mike Bayer
Python-tidy test/engine and test/aaa_profiling, 80% auto + 20% manual intervention
Mike Bayer
- experimenting with pytidy with mods as a textmate plugin along the path to 78 chars. eh
Mike Bayer
biginteger
Mike Bayer
- more 78 chars - BIGINT doc - clean up docs in schema.py
Mike Bayer
- doc fixes regarding __tablename__ mixin - 78 chars
Mike Bayer
- added "expr" to the column descriptions accessor, this is an expression that matches on identity the original expression passed to the query. In particular you can pass it into order_by() and similar.
Mike Bayer
- 78 chars - Added "column_descriptions" accessor to Query, returns a list of dictionaries containing naming/typing information about the entities the Query will return. Can be helpful for building GUIs on top of ORM queries.
Mike Bayer
added an extra check for the correct class when __init__ is called, to fix the second half of [ticket:1846]
Mike Bayer
merge doc fix
Mike Bayer
- Improved the check for an "unmapped class", including the case where the superclass is mapped but the subclass is not. Any attempts to access cls._sa_class_manager.mapper now raise UnmappedClassError(). [ticket:1142]
Chris Withers
typo
Mike Bayer
0.6.3
Mike Bayer
- Removed errant many-to-many load in unitofwork which triggered unnecessarily on expired/unloaded collections. This load now takes place only if passive_updates is False and the parent primary key has changed, or if passive_deletes is False and a delete of the parent has occurred. [ticket:1845]
Mike Bayer
78 chars
Mike Bayer
78 chars
Mike Bayer
merge
Mike Bayer
78 chars for sybase
Mike Bayer
Added tag rel_0_6_2 for changeset 7e72edc9d39966721f2731ef2dbf508ca4a03e4c
Mike Bayer
- updated obsolete docs regarding sequences, RETURNING for pg - 78 chars for postgresql/base.py, engine/default.py
Tags
rel_0_6_2
Mike Bayer
up the variance on these as the call counts are very low and things wiggle around even between 2.6.4/2.6.5
  1. Prev
  2. Next