Commits

Author Commit Message Labels Comments Date
Mike Bayer
remove comparison/group by on TEXT columns
Mike Bayer
- Further fixes to the "percent signs and spaces in column/table names" functionality. [ticket:1284] - Still doesn't work for PG/MySQL, which unfortunately would require post_process_text() calls all over the place. Perhaps % escaping can be assembled into IdentifierPreparer.quote() since that's where identifier names are received.
Mike Bayer
dont need pre-0.5 note
Tags
rel_0_5_1
Michael Trier
Corrected handling of large decimal values on mssql. Added more robust tests. - Removed string manipulation on floats. Float types are now passed through to mssql as is. - Fixes #1280
Mike Bayer
more session updates
Mike Bayer
docstring fixup
Mike Bayer
fix errant foreign key
Mike Bayer
fixed more save/clear calls
Mike Bayer
- The "clear()", "save()", "update()", "save_or_update()" Session methods have been deprecated, replaced by "expunge_all()" and "add()". "expunge_all()" has also been added to ScopedSession.
Mike Bayer
explicit rollback to get the connection back to the pool
Mike Bayer
WeakCompositeKey was coded incorrectly and was not weakly referencing anything. However when repaired, the usage within RelationLoader._create_joins() still creates cycles between key elements and the value placed in the dict. In the interests of risk reduction, WCK is now removed and the two caches it was used for are now non-cached. Speed comparisons with one join/eager-heavy web application show no noticeable effect in response time.
Mike Bayer
- misc savepoint test - don't need dialect_impl() for Text
Mike Bayer
- Using delete-orphan on a many-to-many relation is deprecated. This produces misleading or erroneous results since SQLA does not retrieve the full list of "parents" for m2m. To get delete-orphan behavior with an m2m table, use an explcit association class so that the individual association row is treated as a parent. [ticket:1281] - delete-orphan cascade always requires delete cascade. Specifying delete-orphan without delete now raises a deprecation warning. [ticket:1281]
Mike Bayer
- Query.from_self() as well as query.subquery() both disable the rendering of eager joins inside the subquery produced. The "disable all eager joins" feature is available publically via a new query.enable_eagerloads() generative. [ticket:1276] - Added a rudimental series of set operations to Query that receive Query objects as arguments, including union(), union_all(), intersect(), except_(), insertsect_all(), except_all(). See the API documentation for Qu…
Mike Bayer
- use ForeignKey.column as _colspec source in Column._make_proxy(), preventing needless redundant string arithmetic in memoized ForeignKey.column method - _pre_existing_column attribute becomes optional, only needed for original Table-bound column, not proxies - compare two ForeignKeys based on target_fullname, don't assume self._colspec is a string - Fixed bug when overriding a Column with a ForeignKey on a reflected table, where derived columns (i.e. the "virtual" columns of a sele…
Mike Bayer
- Improved the methodology to handling percent signs in column names from [ticket:1256]. Added more tests. MySQL and Postgres dialects still do not issue correct CREATE TABLE statements for identifiers with percent signs in them.
Lele Gaifax
Fix a hyperref
Mike Bayer
prefer this methods
Mike Bayer
- It's an error to add new Column objects to a declarative class that specified an existing table using __table__.
Mike Bayer
- Column with no name (as in declarative) won't raise a NoneType error when it's string output is requsted (such as in a stack trace).
Mike Bayer
- Fixed a bug with the unitofwork's "row switch" mechanism, i.e. the conversion of INSERT/DELETE into an UPDATE, when combined with joined-table inheritance and an object which contained no defined values for the child table where an UPDATE with no SET clause would be rendered.
jason kirtland
- Tightened up **kw on ColumnProperty and its front-end functions.
Mike Bayer
happy new year
Mike Bayer
- Can now specify Column objects on subclasses which have no table of their own (i.e. use single table inheritance). The columns will be appended to the base table, but only mapped by the subclass. - For both joined and single inheriting subclasses, the subclass will only map those columns which are already mapped on the superclass and those explicit on the subclass. Other columns that are present on the `Table` will be excluded from the mapping by default, which can be disabled by passing a blank `exclude_properties` collection to the `__mapper_args__`. This is so that single-inheriting c…
Mike Bayer
oh, its UNION ordering that's changing
Mike Bayer
more comparator tweaks
Mike Bayer
Ensure RowTuple names are correct by adding "key" to QueryableAttribute.
Mike Bayer
suspect the InstrumentedSet/set comparison is failing for some reason
Mike Bayer
*more* sqlite appeasement
Mike Bayer
mysql/pg sensitive fixes
  1. Prev
  2. Next