summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | Removed accidental print statementsScott Dugas2014-10-301-2/+0
| | | | | | | |
| | * | | | | | Added requirement for temporary tablesScott Dugas2014-10-302-0/+6
| | | | | | | |
| | * | | | | | Set the length for MyType implementationScott Dugas2014-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mysql drops the type in these tests, when it does visit_typeclause, since it's an unkown type it just says none, and doesn't do a cast. Firebird also doesn't support varchar with length, it throws an error on these types.
| | * | | | | | require check constraints for testsScott Dugas2014-10-232-0/+2
| | | | | | | |
| | * | | | | | Added requirement to test for bind limitScott Dugas2014-10-231-0/+1
| | | | | | | |
| | * | | | | | Forgot to update usage of ex to exc_valueScott Dugas2014-10-231-1/+1
| | | | | | | |
| | * | | | | | Added new requirement for check_constraintsScott Dugas2014-10-232-0/+7
| | | | | | | |
| | * | | | | | Print useful traceback on errorScott Dugas2014-10-231-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _expect_failure was rethrowing the exception without keeping the traceback, so it was really hard to find out what was actually wrong
| | * | | | | | Support additional args/kwargs on cursor methodScott Dugas2014-10-221-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdbsql has an optional nested kwarg, which is supported in the actual code, but not in the testing proxy
| * | | | | | | - Fixed bug in :meth:`.Table.tometadata` method where theMike Bayer2014-11-294-11/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :class:`.CheckConstraint` associated with a :class:`.Boolean` or :class:`.Enum` type object would be doubled in the target table. The copy process now tracks the production of this constraint object as local to a type object. fixes #3260
| * | | | | | | - Updated the :ref:`examples_versioned_history` example such thatMike Bayer2014-11-264-21/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mapped columns are re-mapped to match column names as well as grouping of columns; in particular, this allows columns that are explicitly grouped in a same-column-named joined inheritance scenario to be mapped in the same way in the history mappings, avoiding warnings added in the 0.9 series regarding this pattern and allowing the same view of attribute keys.
| * | | | | | | - formattingMike Bayer2014-11-262-53/+106
| | | | | | | |
| * | | | | | | - set default dialect hereMike Bayer2014-11-261-0/+2
| | | | | | | |
| * | | | | | | - changelog, improve docstring/test for #3217. fixes #3217Mike Bayer2014-11-263-8/+26
| | | | | | | |
| * | | | | | | Merge branch 'issue_bb_3217' of ↵Mike Bayer2014-11-262-6/+56
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bitbucket.org/jvanasco/sqlalchemy-alt into pr32
| | * | | | | | | * adding 'isouter=False' to sqlalchemy.orm.query.Query ↵jonathan vanasco2014-10-032-6/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://bitbucket.org/zzzeek/sqlalchemy/issue/3217/make-join-more-standard-or-improve-error) $ python setup.py develop $ pip install nose $ pip install mock $ ./sqla_nose.py test.orm.test_joins ..................................................................................................... ---------------------------------------------------------------------- Ran 101 tests in 1.222s OK $ ./sqla_nose.py test.orm ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S......................................................................................................................................................................................................................................................................................................................S.......................................................................................................................................................................................................................................................................................................................................................S.......S..S.SSS.SS...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S................................S..S........................S...........................................................................................SSS.S.........SSSSSSSS......SSSSSSSSS........SS...SS...............S.............................S..............................................................SS..SS..............................................................................................................S. ---------------------------------------------------------------------- Ran 3103 tests in 82.607s OK (SKIP=46)
| * | | | | | | | Merged in jon_nelson/sqlalchemy/minor_spelling_error (pull request #37) Mike Bayer2014-11-261-1/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | - fix minor spelling error
| | * | | | | | | | - fix minor spelling errorJon Nelson2014-11-141-1/+1
| | | | | | | | | |
| | * | | | | | | | Merged zzzeek/sqlalchemy into masterJon Nelson2014-11-148-65/+59
| | |\ \ \ \ \ \ \ \ | | | | |_|_|/ / / / | | | |/| | | | | |
| * | | | | | | | | Merged in jvanasco/sqlalchemy-alt/issue_docs_event_statement (pull request #33) Mike Bayer2014-11-261-6/+11
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | added docs to clarify that sql statement is already in a dialect
| | * | | | | | | | | added docs to clarify that sql statement is already in a dialectjonathan vanasco2014-10-171-6/+11
| | | |_|/ / / / / / | | |/| | | | | | |
| * | | | | | | | | - add an order_by hereMike Bayer2014-11-261-1/+2
| | | | | | | | | |
| * | | | | | | | | - use self.parent, not table here as there's an attributeerrorMike Bayer2014-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | trap for self.table that behaves differently in py3k
| * | | | | | | | | - refresh all zoomark profilesMike Bayer2014-11-251-6/+6
| | | | | | | | | |
| * | | | | | | | | - add a new option --force-write-profiles to rewrite profiles even if theyMike Bayer2014-11-252-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are passing
| * | | | | | | | | - The behavioral contract of the :attr:`.ForeignKeyConstraint.columns`Mike Bayer2014-11-256-46/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | collection has been made consistent; this attribute is now a :class:`.ColumnCollection` like that of all other constraints and is initialized at the point when the constraint is associated with a :class:`.Table`. fixes #3243
| * | | | | | | | | - The :meth:`.PropComparator.of_type` modifier has beenMike Bayer2014-11-247-8/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improved in conjunction with loader directives such as :func:`.joinedload` and :func:`.contains_eager` such that if two :meth:`.PropComparator.of_type` modifiers of the same base type/path are encountered, they will be joined together into a single "polymorphic" entity, rather than replacing the entity of type A with the one of type B. E.g. a joinedload of ``A.b.of_type(BSub1)->BSub1.c`` combined with joinedload of ``A.b.of_type(BSub2)->BSub2.c`` will create a single joinedload of ``A.b.of_type((BSub1, BSub2)) -> BSub1.c, BSub2.c``, without the need for the ``with_polymorphic`` to be explicit in the query. fixes #3256
| * | | | | | | | | - add some logging to path_registry to help debug eager loadingMike Bayer2014-11-242-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issues
| * | | | | | | | | - Fixed a bug in the ↵Mike Bayer2014-11-242-0/+10
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | examples/generic_assocaitions/discriminator_on_association.py example, where the subclasses of AddressAssociation were not being mapped as "single table inheritance", leading to problems when trying to use the mappings further.
| * | | | | | | | - callcountsMike Bayer2014-11-141-60/+10
| | | | | | | | |
| * | | | | | | | - correct this to rewrite a multiple profile line correctlyMike Bayer2014-11-141-1/+5
| | | | | | | | |
| * | | | | | | | - Fixed a leak which would occur in the unsupported and highlyMike Bayer2014-11-133-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-recommended use case of replacing a relationship on a fixed mapped class many times, referring to an arbitrarily growing number of target mappers. A warning is emitted when the old relationship is replaced, however if the mapping were already used for querying, the old relationship would still be referenced within some registries. fixes #3251
| * | | | | | | | Merged in jon_nelson/sqlalchemy/logging_interpolation (pull request #35) Mike Bayer2014-11-123-4/+4
| |\ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | - don't do inline string interpolation when logging
| | * | | | | | | - don't do inline string interpolation when loggingJon Nelson2014-11-113-4/+4
| |/ / / / / / /
| * | | | | | | - Fixed issue where the columns from a SELECT embedded in anMike Bayer2014-11-114-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INSERT, either through the values clause or as a "from select", would pollute the column types used in the result set produced by the RETURNING clause when columns from both statements shared the same name, leading to potential errors or mis-adaptation when retrieving the returning rows. fixes #3248
| * | | | | | | - in lieu of adding a new system of translating bound parameter namesMike Bayer2014-11-102-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for psycopg2 and others, encourage users to take advantage of positional styles by documenting "paramstyle". A section is added to psycopg2 specifically as this is a pretty common spot for named parameters that may be unusually named. fixes #3246.
| * | | | | | | - The :attr:`.Column.key` attribute is now used as the source ofMike Bayer2014-11-104-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anonymous bound parameter names within expressions, to match the existing use of this value as the key when rendered in an INSERT or UPDATE statement. This allows :attr:`.Column.key` to be used as a "substitute" string to work around a difficult column name that doesn't translate well into a bound parameter name. Note that the paramstyle is configurable on :func:`.create_engine` in any case, and most DBAPIs today support a named and positional style. fixes #3245
* | | | | | | | Merge branch 'master' into ticket_3100Mike Bayer2014-11-062-6/+8
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/sqlalchemy/orm/persistence.py
| * | | | | | | Merge pull request #149 from pbu88/small_error_reporting_improvement_updatemike bayer2014-11-062-6/+8
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Small improvement on FlushError can't update error message
| | * | | | | | | Small improvement on FlushError can't update error messagepr/149Paulo Bu2014-11-062-6/+8
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Output in the error message the table name and the column name.
* | | | | | | | bulk_updatesMike Bayer2014-11-061-0/+54
| | | | | | | |
* | | | | | | | Merge branch 'master' into ticket_3100Mike Bayer2014-11-06110-3521/+9061
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | - edits to the subqueryload ordering mergeMike Bayer2014-11-053-56/+86
| | | | | | | |
| * | | | | | | Merge branch 'subqueryload_order' of ↵Mike Bayer2014-11-053-0/+105
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bitbucket.org/univerio/sqlalchemy into pr26
| | * | | | | | | Added documentation about interaction between `subqueryload` and LIMIT/OFFSET.Jack Zhou2014-08-073-0/+105
| | | | | | | | |
| * | | | | | | | Merge pull request #148 from pbu88/small_error_reporting_improvementmike bayer2014-11-052-3/+4
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Small improvement on FlushError can't delete error message
| | * | | | | | | | Small improvement on FlushError can't delete error messagepr/148Paulo Bu2014-11-052-3/+4
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Output in the error message the table name and the column name.
| * | | | | | | | - Fixed bug regarding expression mutations which could expressMike Bayer2014-11-054-1/+55
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | itself as a "Could not locate column" error when using :class:`.Query` to select from multiple, anonymous column entities when querying against SQLite, as a side effect of the "join rewriting" feature used by the SQLite dialect. fixes #3241
| * | | | | | | - ensure kwargs are passed for limit clause on a compound select as well,Mike Bayer2014-10-312-1/+17
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | further fixes for #3034
| * | | | | | - added new backend for pysqlcipher, as we will probably getMike Bayer2014-10-295-4/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | requests for it soon.