Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixing the error regex to match numbers with the long suffix, like 1146Lpr/3 | Brett Slatkin | 2013-06-08 | 1 | -1/+1 |
| | |||||
* | PEP8 | Brett Slatkin | 2013-06-08 | 1 | -3/+3 |
| | |||||
* | Makes gaerdbms for App Engine use local MySQL server when running under ↵ | Brett Slatkin | 2013-06-08 | 1 | -6/+15 |
| | | | | dev_appserver2. | ||||
* | - Fixed an obscure bug where the wrong results would be | Mike Bayer | 2013-06-07 | 7 | -97/+375 |
| | | | | | | | | | | | fetched when joining/joinedloading across a many-to-many relationship to a single-table-inheriting subclass with a specific discriminator value, due to "secondary" rows that would come back. The "secondary" and right-side tables are now inner joined inside of parenthesis for all ORM joins on many-to-many relationships so that the left->right join can accurately filtered. [ticket:2369] | ||||
* | remove all remaining start/end py2k/py3k blocks | Mike Bayer | 2013-06-07 | 10 | -168/+131 |
| | |||||
* | fix test | Mike Bayer | 2013-06-06 | 1 | -0/+1 |
| | |||||
* | Merge branch 'ticket_2587' | Mike Bayer | 2013-06-06 | 8 | -38/+227 |
|\ | |||||
| * | dial back the default "flatness" a bit, it will be there for joinedload and ↵ | Mike Bayer | 2013-06-06 | 8 | -47/+182 |
| | | | | | | | | | | | | | | query.join(), but if you're dealing with aliased() or with_polymorphic() you need to say "flat=True". Just the one flag though, "flat" implies "aliased". | ||||
| * | shrugs | Mike Bayer | 2013-06-05 | 1 | -1/+6 |
| | | |||||
| * | a test for what's breaking, plus a non-working fix for it... | Mike Bayer | 2013-06-05 | 2 | -1/+50 |
| | | |||||
* | | When querying the information schema on SQL Server 2000, removed | Mike Bayer | 2013-06-06 | 4 | -4/+58 |
|/ | | | | | | | a CAST call that was added in 0.8.1 to help with driver issues, which apparently is not compatible on 2000. The CAST remains in place for SQL Server 2005 and greater. [ticket:2747] | ||||
* | genericize tests here | Mike Bayer | 2013-06-04 | 1 | -5/+10 |
| | |||||
* | Merge branch 'ticket_2587' | Mike Bayer | 2013-06-04 | 20 | -299/+723 |
|\ | | | | | | | | | | | Conflicts: test/profiles.txt test/sql/test_selectable.py | ||||
| * | - add coverage for result map rewriting | Mike Bayer | 2013-06-04 | 2 | -1/+12 |
| | | | | | | | | | | - fix the result map rewriter for col mismatches, since the rewritten select at the moment typically has more columns than the original | ||||
| * | callcounts | Mike Bayer | 2013-06-04 | 1 | -14/+9 |
| | | |||||
| * | - if the select() does not have use_labels on, then we just render | Mike Bayer | 2013-06-04 | 2 | -0/+52 |
| | | | | | | | | | | | | the joins as is, regardless of the dialect not supporting it. use_labels=True indicates a higher level of automation and also can maintain the labels between rewritten and not. use_labels=False indicates a manual use case. | ||||
| * | - support for a__b_dc, i.e. two levels of nesting | Mike Bayer | 2013-06-04 | 2 | -39/+150 |
| | | |||||
| * | repair these tests now that we allow join from selectable to fromgrouping | Mike Bayer | 2013-06-04 | 1 | -21/+26 |
| | | |||||
| * | clean up the dialect selection thing here | Mike Bayer | 2013-06-04 | 1 | -8/+12 |
| | | |||||
| * | - add a flag to DefaultDialect for this so that people will have some | Mike Bayer | 2013-06-04 | 2 | -1/+31 |
| | | | | | | | | workaround | ||||
| * | - improve overlapping selectables, apply to both query and relationship | Mike Bayer | 2013-06-04 | 8 | -140/+118 |
| | | | | | | | | | | | | - clean up inspect() calls within query._join() - make sure join.alias(flat) propagates - fix almost all assertion tests | ||||
| * | - eager loads | Mike Bayer | 2013-06-04 | 4 | -81/+54 |
| | | | | | | | | - two suite of SQL assertions converted | ||||
| * | here's the flat join thing. it just works. Changing the existing compiled ↵ | Mike Bayer | 2013-06-04 | 3 | -8/+19 |
| | | | | | | | | | | | | SQL assertions might even be most of the tests we need (though dedicated sql tests would be needed anyway) | ||||
| * | and this comment | Mike Bayer | 2013-06-04 | 1 | -0/+4 |
| | | |||||
| * | rewriting scheme now works. | Mike Bayer | 2013-06-04 | 3 | -105/+67 |
| | | |||||
| * | capture the really hard one in a test (hooray) | Mike Bayer | 2013-06-04 | 2 | -1/+120 |
| | | |||||
| * | OK this is the broken version, need to think a lot more about this | Mike Bayer | 2013-06-03 | 3 | -4/+48 |
| | | |||||
| * | - pulling out more aliases, sort of | Mike Bayer | 2013-06-03 | 1 | -4/+9 |
| | | |||||
| * | working through tests.... | Mike Bayer | 2013-06-02 | 6 | -24/+55 |
| | | |||||
| * | - figured out what the from_self() thing was about, part of query.statement, ↵ | Mike Bayer | 2013-06-02 | 4 | -9/+6 |
| | | | | | | | | | | | | but would like to improve upon query.statement needing to do this | ||||
| * | getting things to join without subqueries, but some glitches in the compiler ↵ | Mike Bayer | 2013-06-02 | 6 | -21/+52 |
| | | | | | | | | | | | | step when we do query.count() are showing | ||||
| * | implement join rewriting inside of visit_select(). Currently this is global ↵ | Mike Bayer | 2013-06-02 | 3 | -13/+75 |
| | | | | | | | | or not based on fixing nested_join_translation as True or not. | ||||
* | | The ``deferrable`` keyword argument on :class:`.ForeignKey` and | Mike Bayer | 2013-06-03 | 4 | -0/+37 |
| | | | | | | | | | | | | | | | | :class:`.ForeignKeyConstraint` will not render the ``DEFERRABLE`` keyword on the MySQL dialect. For a long time we left this in place because a non-deferrable foreign key would act very differently than a deferrable one, but some environments just disable FKs on MySQL, so we'll be less opinionated here. [ticket:2721] | ||||
* | | Fixed bug where :class:`.MutableDict` didn't report a change event | Mike Bayer | 2013-06-03 | 4 | -0/+30 |
| | | | | | | | | | | when ``clear()`` was called. [ticket:2730] | ||||
* | | - clean up some of the requires for cross-schema reflection | Mike Bayer | 2013-06-03 | 3 | -8/+48 |
| | | | | | | | | - add oracle profile counts | ||||
* | | Fixed bug whereby joining a select() of a table "A" with multiple | Mike Bayer | 2013-06-03 | 5 | -8/+62 |
| | | | | | | | | | | | | | | | | foreign key paths to a table "B", to that table "B", would fail to produce the "ambiguous join condition" error that would be reported if you join table "A" directly to "B"; it would instead produce a join condition with multiple criteria. [ticket:2738] | ||||
* | | Fixed bug whereby using :meth:`.MetaData.reflect` across a remote | Mike Bayer | 2013-06-03 | 4 | -3/+53 |
| | | | | | | | | | | | | schema as well as a local schema could produce wrong results in the case where both schemas had a table of the same name. [ticket:2728] | ||||
* | | - remove the ``__iter__()`` with notimplemented since it interferes | Mike Bayer | 2013-06-03 | 4 | -12/+36 |
| | | | | | | | | with legitimate iterable detection, [ticket:2726] | ||||
* | | - add changelog/migration note | Mike Bayer | 2013-06-03 | 3 | -9/+62 |
| | | | | | | | | - inline the label check | ||||
* | | Merge branch 'master' into ticket_1068 | Mike Bayer | 2013-06-03 | 6 | -14/+35 |
|\ \ | |||||
| * | | - fdb is now official, [ticket:2504] | Mike Bayer | 2013-06-03 | 6 | -14/+35 |
| | | | | | | | | | | | | | | | - restore the rollback cleanup handler, pg8000 is mostly obsolete as a dialect and the firebird drivers need it | ||||
* | | | test tweak | Mike Bayer | 2013-06-03 | 1 | -1/+4 |
| | | | |||||
* | | | Merge branch 'master' into ticket_1068 | Mike Bayer | 2013-06-03 | 219 | -4203/+3339 |
|\ \ \ | |/ / | |||||
| * | | - some tweaks to try to help out mssql+pyodbc support a bit, py3k is really | Mike Bayer | 2013-06-03 | 4 | -14/+21 |
| |/ | | | | | | | not happening too well (I need to stick with linux + freetds 0.91, I know) | ||||
| * | - blow away context._attributes | Mike Bayer | 2013-06-02 | 5 | -51/+48 |
| | | | | | | | | | | - to account for query._attributes/context.attributes, just pass the attributes dict directly to the PathRegistry methods | ||||
| * | 0.8 changelog in 0.9 | Mike Bayer | 2013-05-31 | 1 | -0/+11 |
| | | |||||
| * | Fixed a regression caused by [ticket:2682] whereby the | Mike Bayer | 2013-05-31 | 3 | -0/+32 |
| | | | | | | | | | | | | | | evaluation invoked by :meth:`.Query.update` and :meth:`.Query.delete` would hit upon unsupported ``True`` and ``False`` symbols which now appear due to the usage of ``IS``. [ticket:2737] | ||||
| * | add a test for the exception we want to raise here | Mike Bayer | 2013-05-30 | 1 | -0/+12 |
| | | |||||
| * | The "auto-aliasing" behavior of the :class:`.Query.select_from` | Mike Bayer | 2013-05-30 | 6 | -60/+303 |
| | | | | | | | | | | | | method has been turned off. The specific behavior is now availble via a new method :class:`.Query.select_entity_from`. [ticket:2736] | ||||
| * | - implement armin's awesome metaclass adaptor, can drop the refs to MetaBase. | Mike Bayer | 2013-05-30 | 4 | -13/+26 |
| | |