summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - don't load deferred columns on unexpire for merge with load=False,pr/256Diana Clarke2016-04-054-6/+115
| | | | | fixes #3488 Co-Authored-By: Mike Bayer <mike_mp@zzzcomputing.com>
* - Add a git review fileMike Bayer2016-03-311-0/+3
| | | | Change-Id: Ib19e9ee0854f0d123ea625fb976f1a398cf88c87
* - callcount refresh due to negative indexes change for nocextMike Bayer2016-03-311-247/+299
|
* - limit this to sqlite for nowMike Bayer2016-03-301-0/+1
|
* - move all resultproxy tests intio test_resultsetMike Bayer2016-03-302-333/+336
|
* - make sure negative row indexes are based on the size of theMike Bayer2016-03-304-15/+53
| | | | | | number of columns we're actually reporting on - add more tests for negative row index - changelog/migration
* Merge remote-tracking branch 'origin/pr/231' into pr231Mike Bayer2016-03-303-1/+31
|\
| * - properly handle negative indexes in RowProxy.__getitem__()pr/231Lele Gaifax2016-01-283-1/+31
| |
* | Docstring Fixpr/254Patrick2016-03-301-2/+2
| | | | | | | | Change the docstring in short_selects example to match the code
* | - changelog for #3629, fixes #3629Mike Bayer2016-03-302-0/+22
| |
* | Merge remote-tracking branch 'origin/pr/230'Mike Bayer2016-03-303-5/+44
|\ \
| * | same logic, but without the inner functionpr/230Diana Clarke2016-01-281-4/+3
| | |
| * | sqlite: reflect primary key constraint names, fixes #3629Diana Clarke2016-01-273-5/+45
| | |
* | | redundant "using the by changing" -> "using the"pr/253NestorTejero2016-03-301-1/+1
| | |
* | | - Added :meth:`.Select.lateral` and related constructs to allowMike Bayer2016-03-2911-10/+331
| | | | | | | | | | | | | | | for the SQL standard LATERAL keyword, currently only supported by Postgresql. fixes #2857
* | | - Added support for rendering "FULL OUTER JOIN" to both Core and ORM.Mike Bayer2016-03-2810-35/+163
| | | | | | | | | | | | Pull request courtesy Stefan Urbanek. fixes #1957
* | | - remember to not reassign self.connection now that __connect()Mike Bayer2016-03-251-2/+2
| | | | | | | | | | | | has no return value
* | | - Added connection pool events :meth:`ConnectionEvents.close`,Mike Bayer2016-03-254-22/+137
| | | | | | | | | | | | | | | :meth:`.ConnectionEvents.detach`, :meth:`.ConnectionEvents.close_detached`.
* | | - oracle doesn't release savepointsMike Bayer2016-03-241-1/+1
| | |
* | | - Further continuing on the common MySQL exception case ofMike Bayer2016-03-234-15/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | a savepoint being cancelled first covered in :ticket:`2696`, the failure mode in which the :class:`.Session` is placed when a SAVEPOINT vanishes before rollback has been improved to allow the :class:`.Session` to still function outside of that savepoint. It is assumed that the savepoint operation failed and was cancelled. fixes #3680
* | | Merge remote-tracking branch 'origin/pr/251'Mike Bayer2016-03-211-1/+1
|\ \ \
| * | | ReST fix: missing backtickpr/251Marius Gedminas2016-03-211-1/+1
| | | | | | | | | | | | Fixes a misrendering at http://docs.sqlalchemy.org/en/latest/dialects/mssql.html#nullability:
* | | | - Fixed bug where the negation of an EXISTS expression would notMike Bayer2016-03-215-1/+64
|/ / / | | | | | | | | | | | | | | | | | | be properly typed as boolean in the result, and also would fail to be anonymously aliased in a SELECT list as is the case with a non-negated EXISTS construct. fixes #3682
* | | Fix typopr/249Benjamin Dopplinger2016-03-161-1/+1
| | |
* | | - ensure engine is restored even if we had a failure in cleanupMike Bayer2016-03-151-3/+5
| | | | | | | | | | | | for stray connection
* | | - Added basic isolation level support to the SQL Server dialectsMike Bayer2016-03-156-1/+128
| | | | | | | | | | | | | | | | | | via :paramref:`.create_engine.isolation_level` and :paramref:`.Connection.execution_options.isolation_level` parameters. fixes #3534
* | | - changelog and docs for #3332, fixes #3332Mike Bayer2016-03-155-36/+94
| | | | | | | | | | | | | | | | | | - make docs for isolation level more consistent between postgresql and mysql - move mysql autocommit tests
* | | Merge branch 'master' into pr157Mike Bayer2016-03-15363-10581/+39843
|\ \ \
| * | | - add notes for pyodbc limitations with rowcount fixes #3675Mike Bayer2016-03-152-0/+41
| | | |
| * | | - Fixed bug where a newly inserted instance that is rolled backMike Bayer2016-03-145-17/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | would still potentially cause persistence conflicts on the next transaction, because the instance would not be checked that it was expired. This fix will resolve a large class of cases that erronously cause the "New instance with identity X conflicts with persistent instance Y" error. fixes #3677
| * | | Adds documentation to Query.slice().pr/247jfinkels2016-03-131-3/+28
| | | |
| * | | Update cascades.rstpr/246falkerson2016-03-091-1/+1
| | | |
| * | | - skip GC tests here when coverage is enabled, seems to interfereMike Bayer2016-03-081-1/+1
| | | |
| * | | - not sure why MySQL DROP DBs fail but we can't just ignore the errorMike Bayer2016-03-031-12/+3
| | | | | | | | | | | | | | | | like this
| * | | - move out unconsumed names tests from test_compiler out to test_insert, ↵Mike Bayer2016-03-023-48/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | test_update - establish consistent names between existing unconsumed names tests and new ones added per ref #3666
| * | | - changelog for #3666, fixes #3666Mike Bayer2016-03-021-0/+9
| | | |
| * | | Add test for inserting multiple valuesAthena Yao2016-03-021-0/+38
| | | |
| * | | Raise exception when we have multiple values with an unknown column. Fixes ↵Athena Yao2016-03-021-1/+1
| | | | | | | | | | | | | | | | #3666.
| * | | - unfortunately calling upon "_label" here makes it unclear ifMike Bayer2016-02-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | we're trying to hit columns without names yet and such, to suit the bug right now just make it specific to FunctionElement (cherry picked from commit 785224a92f39bd5bdd05bbc66f4dd79736abded5)
| * | | - Anonymous labeling is applied to a :attr:`.func` construct that isMike Bayer2016-02-263-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passed to :func:`.column_property`, so that if the same attribute is referred to as a column expression twice the names are de-duped, thus avoiding "ambiguous column" errors. Previously, the ``.label(None)`` would need to be applied in order for the name to be de-anonymized. fixes #3663
| * | | - An improvement to the workings of :meth:`.Query.correlate` suchMike Bayer2016-02-254-9/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | that when a "polymorphic" entity is used which represents a straight join of several tables, the statement will ensure that all the tables within the join are part of what's correlating. fixes #3662
| * | | - additional adjustment to the fix made in ↵Mike Bayer2016-02-212-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ad968f33100baeb3b13c7e0b724b6b79ab4277f for ref #3657. The Oracle dialect makes more use of the "select_wraps_for" feature than SQL server because Oracle doesn't have "TOP" for a limit-only select, so tests are showing more happening here. In the case where the select() has some dupe columns, these are deduped from the .c collection so a positional match between the wrapper and original can't use .inner_columns, because these collections wont match. Using _columns_plus_names instead which is the deduped collection that determines the SELECT display, which definitely have to match up. (cherry picked from commit aa9ce3f521f254da9879ede011e520ec35b8270e)
| * | | - Fixed bug in "to_list" conversion where a single bytes objectMike Bayer2016-02-214-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | would be turned into a list of individual characters. This would impact among other things using the :meth:`.Query.get` method on a primary key that's a bytes object. fixes #3660
| * | | - update the mssql autoincrement reflection test to accommodateMike Bayer2016-02-201-27/+23
| | | | | | | | | | | | | | | | the new behavior of the autoincrement flag as per ref #3216
| * | | - reworked the way the "select_wraps_for" expression isMike Bayer2016-02-209-16/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handled within visit_select(); this attribute was added in the 1.0 series to accommodate the subquery wrapping behavior of SQL Server and Oracle while also working with positional column targeting and no longer relying upon "key fallback" in order to target columns in such a statement. The IBM DB2 third-party dialect also has this use case, but its implementation is using regular expressions to rewrite the textual SELECT only and does not make use of a "wrapped" select at this time. The logic no longer attempts to reconcile proxy set collections as this was not deterministic, and instead assumes that the select() and the wrapper select() match their columns postionally, at least for the column positions they have in common, so it is now very simple and safe. fixes #3657. - as a side effect of #3657 it was also revealed that the strategy of calling upon a ResultProxy._getter was not correctly calling into NoSuchColumnError when an expected column was not present, and instead returned None up to loading.instances() to produce NoneType failures; added a raiseerr argument to _getter() which is called when we aren't expecting None, fixes #3658.
| * | | Add release date for 1.0.12 to changelogpr/241Jeff Widman2016-02-191-1/+1
| | | |
| * | | - further edit the unnest() example to suit PG's esoteric requirementsMike Bayer2016-02-181-4/+6
| | | | | | | | | | | | | | | | exactly
| * | | - Fixed bug which would cause an eagerly loaded many-to-one attributeMike Bayer2016-02-174-9/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to not be loaded, if the joined eager load were from a row where the same entity were present multiple times, some calling for the attribute to be eagerly loaded and others not. The logic here is revised to take in the attribute even though a different loader path has handled the parent entity already. fixes #3431
| * | | - handle parameter sets that aren't correctly formed, so thatMike Bayer2016-02-174-3/+33
| | | | | | | | | | | | | | | | | | | | for example an exception object made within a test suite can still repr (error seen in Keystone)
| * | | - do the trailing comma logic of tuple repr() exactlyMike Bayer2016-02-172-4/+25
| | | |