| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | cleanup | Mike Bayer | 2013-06-08 | 2 | -15/+6 |
| | | |||||
| * | - tests for the alias() API | Mike Bayer | 2013-06-08 | 1 | -11/+90 |
| | | | | | - docs docs docs | ||||
| * | - Fixed an obscure bug where the wrong results would be | Mike Bayer | 2013-06-07 | 1 | -0/+2 |
| | | | | | | | | | | | | 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] | ||||
| * | dial back the default "flatness" a bit, it will be there for joinedload and ↵ | Mike Bayer | 2013-06-06 | 1 | -6/+5 |
| | | | | | | | | 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". | ||||
| * | Merge branch 'ticket_2587' | Mike Bayer | 2013-06-04 | 4 | -31/+170 |
| |\ | | | | | | | | | | | Conflicts: test/profiles.txt test/sql/test_selectable.py | ||||
| | * | - add coverage for result map rewriting | Mike Bayer | 2013-06-04 | 1 | -1/+6 |
| | | | | | | | | | | | - fix the result map rewriter for col mismatches, since the rewritten select at the moment typically has more columns than the original | ||||
| | * | - if the select() does not have use_labels on, then we just render | Mike Bayer | 2013-06-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | 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 | 1 | -4/+19 |
| | | | |||||
| | * | - improve overlapping selectables, apply to both query and relationship | Mike Bayer | 2013-06-04 | 2 | -6/+20 |
| | | | | | | | | | | | | | - clean up inspect() calls within query._join() - make sure join.alias(flat) propagates - fix almost all assertion tests | ||||
| | * | here's the flat join thing. it just works. Changing the existing compiled ↵ | Mike Bayer | 2013-06-04 | 1 | -5/+14 |
| | | | | | | | | | | | | | 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 | 1 | -71/+43 |
| | | | |||||
| | * | capture the really hard one in a test (hooray) | Mike Bayer | 2013-06-04 | 1 | -1/+1 |
| | | | |||||
| | * | OK this is the broken version, need to think a lot more about this | Mike Bayer | 2013-06-03 | 2 | -2/+46 |
| | | | |||||
| | * | working through tests.... | Mike Bayer | 2013-06-02 | 1 | -1/+13 |
| | | | |||||
| | * | - figured out what the from_self() thing was about, part of query.statement, ↵ | Mike Bayer | 2013-06-02 | 3 | -9/+4 |
| | | | | | | | | | | | | | 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 | 3 | -7/+13 |
| | | | | | | | | | | | | | 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. | ||||
| * | | - remove the ``__iter__()`` with notimplemented since it interferes | Mike Bayer | 2013-06-03 | 1 | -5/+0 |
| | | | | | | | | | with legitimate iterable detection, [ticket:2726] | ||||
| * | | - add changelog/migration note | Mike Bayer | 2013-06-03 | 1 | -9/+9 |
| | | | | | | | | | - inline the label check | ||||
| * | | Merge branch 'master' into ticket_1068 | Mike Bayer | 2013-06-03 | 7 | -109/+82 |
| |\ \ | |/ | |||||
| | * | - implement armin's awesome metaclass adaptor, can drop the refs to MetaBase. | Mike Bayer | 2013-05-30 | 2 | -9/+8 |
| | | | |||||
| | * | - the distinct hash code logic here is entirely obsolete as you can | Mike Bayer | 2013-05-30 | 1 | -11/+0 |
| | | | | | | | | | | | do eq_() on columnelements now with a meaningful bool; jython is entirely a non-starter right now in any case as 2.7 doesn't support common accessors like __defaults__ | ||||
| | * | fix an errant str check | Mike Bayer | 2013-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | a pass where we try to squash down as many list()/keys() combinations | Mike Bayer | 2013-05-26 | 1 | -2/+2 |
| | | | | | | | | | as possible | ||||
| | * | Merge branch 'master' into rel_0_9 | Mike Bayer | 2013-05-26 | 1 | -1/+1 |
| | |\ | |||||
| | * \ | Merge branch 'master' into rel_0_9 | Mike Bayer | 2013-05-26 | 1 | -2/+2 |
| | |\ \ | |||||
| | * | | | sqlite tests | Mike Bayer | 2013-05-26 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | most of ORM passing... | Mike Bayer | 2013-05-04 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | - unicode literals need to just be handled differently if they have utf-8 | Mike Bayer | 2013-05-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | encoded in them vs. unicode escaping. not worth figuring out how to combine these right now | ||||
| | * | | | - test_types, test_compiler, with sqlite at least | Mike Bayer | 2013-04-28 | 1 | -2/+1 |
| | | | | | |||||
| | * | | | - endless isinstance(x, str)s.... | Mike Bayer | 2013-04-28 | 3 | -71/+65 |
| | | | | | |||||
| | * | | | import of "sqlalchemy" and "sqlalchemy.orm" works. | Mike Bayer | 2013-04-27 | 3 | -26/+15 |
| | | | | | |||||
| | * | | | plugging away | Mike Bayer | 2013-04-27 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | - the raw 2to3 run | Mike Bayer | 2013-04-27 | 7 | -90/+92 |
| | | | | | | | | | | | | | | | | | - went through examples/ and cleaned out excess list() calls | ||||
| * | | | | magic accessors to the rescue | Mike Bayer | 2013-05-27 | 2 | -7/+20 |
| | | | | | |||||
| * | | | | still not locating more nested expressions, may need to match on name | Mike Bayer | 2013-05-27 | 1 | -11/+37 |
| | | | | | |||||
| * | | | | attempt number one, doesn't detect though if the label in the order by is ↵ | Mike Bayer | 2013-05-27 | 1 | -3/+19 |
| | |_|/ |/| | | | | | | | | not directly present there. | ||||
| * | | | fix this test | Mike Bayer | 2013-05-26 | 1 | -1/+1 |
| | |/ |/| | |||||
| * | | Show the conflicting column in the warning! | Chris Withers | 2013-05-26 | 1 | -2/+2 |
| |/ | |||||
| * | heh dont need that either | Mike Bayer | 2013-04-25 | 1 | -7/+1 |
| | | |||||
| * | dont need this | Mike Bayer | 2013-04-25 | 1 | -6/+0 |
| | | |||||
| * | everything passes with this!!!!!!! holy crap !!!!! and its the simplest of all | Mike Bayer | 2013-04-25 | 2 | -3/+15 |
| | | |||||
| * | Fully implemented the IS and IS NOT operators with | Mike Bayer | 2013-04-22 | 1 | -12/+34 |
| | | | | | | | | | | | regards to the True/False constants. An expression like ``col.is_(True)`` will now render ``col IS true`` on the target platform, rather than converting the True/ False constant to an integer bound parameter. This allows the ``is_()`` operator to work on MySQL when given True/False constants. [ticket:2682] | ||||
| * | A major fix to the way in which a select() object produces | Mike Bayer | 2013-04-11 | 2 | -22/+58 |
| | | | | | | | | | | | | | | | | | | | | labeled columns when apply_labels() is used; this mode produces a SELECT where each column is labeled as in <tablename>_<columnname>, to remove column name collisions for a multiple table select. The fix is that if two labels collide when combined with the table name, i.e. "foo.bar_id" and "foo_bar.id", anonymous aliasing will be applied to one of the dupes. This allows the ORM to handle both columns independently; previously, 0.7 would in some cases silently emit a second SELECT for the column that was "duped", and in 0.8 an ambiguous column error would be emitted. The "keys" applied to the .c. collection of the select() will also be deduped, so that the "column being replaced" warning will no longer emit for any select() that specifies use_labels, though the dupe key will be given an anonymous label which isn't generally user-friendly. [ticket:2702] | ||||
| * | - Fixed bug in unit of work whereby a joined-inheritance | Mike Bayer | 2013-04-01 | 1 | -1/+3 |
| | | | | | | | | | | | | subclass could insert the row for the "sub" table before the parent table, if the two tables had no ForeignKey constraints set up between them. Also in 0.7.11. [ticket:2689] - fix a glitch in the assertsql.CompiledSQL fixture regarding when a multiparam compiledSQL is used within an AllOf - add a new utility function randomize_unitofwork() which does the function of --reversetop | ||||
| * | merge plus fix the test spelling too | Mike Bayer | 2013-03-18 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix typo. | Richard Mitchell | 2013-03-18 | 1 | -1/+1 |
| | | | |||||
| * | | no need to use getattr() here | Mike Bayer | 2013-03-17 | 2 | -3/+5 |
| |/ | |||||
| * | doc updates | Mike Bayer | 2013-03-11 | 1 | -29/+29 |
| | | |||||
