Commits

Show all
Author Commit Message Labels Comments Date
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
Mike Bayer
- latest distribute - added caveats to unittest README encountered with Py2.7 + current nose 0.11.3 - call counts for py2.7. all tests pass for sqlite + mysql-python + psycopg2
Mike Bayer
force __doc__ to transfer over from the decorated funciton. 2.6 does this anyway, 2.4 and 2.5 do not.
Mike Bayer
merge
Mike Bayer
some prep for the 'viewcode' plugin, which works, though not sure if its helpful
Mike Bayer
some linkage
Mike Bayer
transfer docstrings from @classproperty to props
Mike Bayer
- idle 78-char adjustments
Mike Bayer
- Added support for @classproperty to provide any kind of schema/mapping construct from a declarative mixin, including columns with foreign keys, relationships, column_property, deferred. This solves all such issues on declarative mixins. An error is raised if any MapperProperty subclass is specified on a mixin without using @classproperty. [ticket:1751] [ticket:1796] [ticket:1805] - un-anglicized the declarative docs
Mike Bayer
- verbiage expressing that pool_size==0 means no limit; NullPool is used to disable pooling. [ticket:1164]
Mike Bayer
- The 'default' compiler is automatically copied over when overriding the compilation of a built in clause construct, so no KeyError is raised if the user-defined compiler is specific to certain backends and compilation for a different backend is invoked. [ticket:1838]
Mike Bayer
- add typing/operator converts to Float/Numeric to get Oracle tests going again, as we have an unusually high level of dependence on SQLA typing now - force oracle seqs to return integers
Mike Bayer
- If server_version_info is outside the usual range of (8, ), (9, ), (10, ), a warning is emitted which suggests checking that the FreeTDS version configuration is using 7.0 or 8.0, not 4.2. [ticket:1825]
Chris Withers
keep ordering of columns with mixins constant
Mike Bayer
- Query.join() will check for a call of the form query.join(target, clause_expression), i.e. missing the tuple, and raise an informative error message that this is the wrong calling form.
Mike Bayer
- Oracle's "native decimal" metadata begins to return ambiguous typing information about numerics when columns are embedded in subqueries as well as when ROWNUM is consulted with subqueries, as we do for limit/offset. We've added these ambiguous conditions to the cx_oracle "convert to Decimal()" handler, so that we receive numerics as Decimal in more cases instead of as floats. These are then converted, if requested,…
Mike Bayer
- An instance which is moved to "transient", has an incomplete or missing set of primary key attributes, and contains expired attributes, will raise an InvalidRequestError if an expired attribute is accessed, instead of getting a recursion overflow. - make_transient() removes all "loader" callables from the state being made transient, removing any "expired" state - all unloaded attributes reset back to undefined, None/empty on access.
Mike Bayer
replace all occurences of "closes the connection" "closes the transaction" with explicit verbiage regarding "returns the connection to the connection pool", "rolls back the transaction"
Mike Bayer
add make_transient
Mike Bayer
fix oracle char length test for newer descriptors
Mike Bayer
- Fixed bug that would prevent overridden clause compilation from working for "annotated" expression elements, which are often generated by the ORM.
Mike Bayer
- Won't generate "CREATE TYPE" / "DROP TYPE" if using types.Enum on a PG version prior to 8.3 - the supports_native_enum flag is fully honored. [ticket:1836]
Mike Bayer
fix test
Mike Bayer
- The argument to "ESCAPE" of a LIKE operator or similar is passed through render_literal_value(), which may implement escaping of backslashes. [ticket:1400] - Postgresql render_literal_value() is overridden which escapes backslashes, currently applies to the ESCAPE clause of LIKE and similar expressions. Ultimately this will have to detect the value of "standard_conforming_strings" for full behavior. [ticket:1400] - MySQL render_literal_value() is ove…
Mike Bayer
- Fixed @memoized_property and @memoized_instancemethod decorators so that Sphinx documentation picks up these attributes and methods, such as ResultProxy.inserted_primary_key. [ticket:1830]
Mike Bayer
- Firebird dialect adds CHAR, VARCHAR types which accept a "charset" flag, to support Firebird "CHARACTER SET" clause. [ticket:1813]
Mike Bayer
- Fixed ora-8 compatibility flags such that they don't cache a stale value from before the first database connection actually occurs. [ticket:1819]
Mike Bayer
fix accessors, [ticket:1816]
Mike Bayer
- a mixin class can now define a column that matches one which is present on a __table__ defined on a subclass. It cannot, however, define one that is not present in the __table__, and the error message here now works. [ticket:1821]
  1. Prev
  2. Next