summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* association_proxy: allow more flexible use of creatorpr/228Nils Philippsen2016-01-191-3/+77
| | | | | | Add code to deal with unbound and bound methods. Allow the creator callable to have one additional parameter which would receive the instance object through which the association proxy is accessed.
* - Fixed bug where some exception re-raise scenarios would attachMike Bayer2016-01-183-12/+79
| | | | | | | | the exception to itself as the "cause"; while the Python 3 interpreter is OK with this, it could cause endless loops in iPython. fixes #3625 - add tests for reraise, raise_from_cause - raise_from_cause is the same on py2k/3k, use just one function
* Merge remote-tracking branch 'origin/pr/227'Mike Bayer2016-01-161-2/+2
|\
| * Fix typo in relationships docspr/227rmn2016-01-161-2/+2
| |
* | - fix People -> Person , fixes #3628Mike Bayer2016-01-161-1/+1
|/
* - updateMike Bayer2016-01-141-1/+1
|
* - illustrate these using the newer exception doctest format.Mike Bayer2016-01-141-26/+8
| | | | | unfortunately we can't show the SQL unless we filtered it out from doctest...not worth it
* - A deep improvement to the recently added :meth:`.TextClause.columns`Mike Bayer2016-01-1415-599/+1237
| | | | | | | | | | | | | | | | | | | method, and its interaction with result-row processing, now allows the columns passed to the method to be positionally matched with the result columns in the statement, rather than matching on name alone. The advantage to this includes that when linking a textual SQL statement to an ORM or Core table model, no system of labeling or de-duping of common column names needs to occur, which also means there's no need to worry about how label names match to ORM columns and so-forth. In addition, the :class:`.ResultProxy` has been further enhanced to map column and string keys to a row with greater precision in some cases. fixes #3501 - reorganize the initialization of ResultMetaData for readability and complexity; use the name "cursor_description", define the task of "merging" cursor_description with compiled column information as its own function, and also define "name extraction" as a separate task. - fully change the name we use in the "ambiguous column" error to be the actual name that was ambiguous, modify the C ext also
* - there was a DATEPART test after all, fix formatMike Bayer2016-01-141-1/+1
|
* - fix some old verbiage that refers to text() as an "implicit" thingMike Bayer2016-01-141-8/+7
| | | | | for SQL fragments; we've deprecated that in 1.0 and its a good idea to document like this for 0.9 as well.
* - convert keys to str for None not sortable against str on py3kMike Bayer2016-01-121-1/+1
|
* - changelog for pr bitbucket:70, fixes #3624Mike Bayer2016-01-122-0/+21
|
* Remove quote on first DATEPART paramaterGuillaume DOUMENC2016-01-121-1/+1
|
* - reorganize schema_translate_map to be succinct and gain the performanceMike Bayer2016-01-1110-62/+124
| | | | back by using an attrgetter for the default case
* - refactor a bit the loader options system to make it a bit moreMike Bayer2016-01-102-34/+163
| | | | | intelligible, given the fixes for ref #3623. unfortunately the system is still quite weird even though it was rewritten to be... less weird
* - fix link to types in metadata, fixes #3618Mike Bayer2016-01-104-4/+4
| | | | | | - fix "version" got whacked into "f" in core tutorial - fix short underline in automap - fix unmatched boldface in session events
* Merge remote-tracking branch 'origin/pr/225'Mike Bayer2016-01-101-1/+1
|\
| * Update SQLAlchemy-Migrate link to the new repopr/225Jeff Widman2015-12-241-1/+1
| |
* | Merge remote-tracking branch 'origin/pr/226'Mike Bayer2016-01-091-1/+1
|\ \
| * | Fix typo in session docspr/226Adrian Moennich2016-01-091-1/+1
| | |
* | | - ensure we use a Connection for effective schema here since Engine doesn'tMike Bayer2016-01-092-1/+3
|/ / | | | | | | have it; keep it simple
* | - Fixed regression since 0.9 where the 0.9 style loader optionsMike Bayer2016-01-094-4/+91
| | | | | | | | | | | | | | system failed to accommodate for multiple :func:`.undefer_group` loader options in a single query. Multiple :func:`.undefer_group` options will now be taken into account even against the same entity. fixes #3623
* | - Multi-tenancy schema translation for :class:`.Table` objects is added.Mike Bayer2016-01-0817-53/+623
| | | | | | | | | | | | | | | | | | This supports the use case of an application that uses the same set of :class:`.Table` objects in many schemas, such as schema-per-user. A new execution option :paramref:`.Connection.execution_options.schema_translate_map` is added. fixes #2685 - latest tox doesn't like the {posargs} in the profile rerunner
* | - fix docstringsMike Bayer2016-01-081-15/+16
| |
* | Merged in jvanasco/sqlalchemy-alt/issue_docs_scoped_session (pull request #50)Mike Bayer2016-01-071-4/+11
|\ \ | | | | | | | | | updated docstrings for orm.scoping
| * | updated sphinx tagetingjonathan vanasco2015-04-021-8/+10
| | |
| * | updates to scoping docs to make `.session_factory` appear publicjonathan vanasco2015-04-021-2/+7
| | |
* | | - pg8000 fixes for jsonMike Bayer2016-01-074-0/+13
| | |
* | | - add a do-nothing for mock url _instantiate_pluginsMike Bayer2016-01-061-0/+1
| | |
* | | - add limiting criteria to the JSON tests so that we don'tMike Bayer2016-01-061-3/+16
| | | | | | | | | | | | | | | | | | attempt integer indexed access from a key/value object nor string access from an integer-indexed array, as earlier Postgresql versions (prior to 9.4) don't allow this
* | | - Added a new entrypoint system to the engine to allow "plugins" toMike Bayer2016-01-068-10/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be stated in the query string for a URL. Custom plugins can be written which will be given the chance up front to alter and/or consume the engine's URL and keyword arguments, and then at engine create time will be given the engine itself to allow additional modifications or event registration. Plugins are written as a subclass of :class:`.CreateEnginePlugin`; see that class for details. fixes #3536
* | | - long lineMike Bayer2016-01-061-1/+2
| | |
* | | - add a few JSON tests specific to MySQL, including basic reflectionMike Bayer2016-01-061-1/+45
| | |
* | | - Added :class:`.mysql.JSON` for MySQL 5.7. The JSON type providesMike Bayer2016-01-0629-510/+1235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | persistence of JSON values in MySQL as well as basic operator support of "getitem" and "getpath", making use of the ``JSON_EXTRACT`` function in order to refer to individual paths in a JSON structure. fixes #3547 - Added a new type to core :class:`.types.JSON`. This is the base of the PostgreSQL :class:`.postgresql.JSON` type as well as that of the new :class:`.mysql.JSON` type, so that a PG/MySQL-agnostic JSON column may be used. The type features basic index and path searching support. fixes #3619 - reorganization of migration docs etc. to try to refer both to the fixes to JSON that helps Postgresql while at the same time indicating these are new features of the new base JSON type. - a rework of the Array/Indexable system some more, moving things that are specific to Array out of Indexable. - new operators for JSON indexing added to core so that these can be compiled by the PG and MySQL dialects individually - rename sqltypes.Array to sqltypes.ARRAY - as there is no generic Array implementation, this is an uppercase type for now, consistent with the new sqltypes.JSON type that is also not a generic implementation. There may need to be some convention change to handle the case of datatypes that aren't generic, rely upon DB-native implementations, but aren't necessarily all named the same thing.
* | | - dont forwards-report tons of 1.0.x changes in the unreleased 1.1;Mike Bayer2016-01-052-41/+10
| | | | | | | | | | | | | | | only when a 1.1.x is released would we want to capture what's still sitting in a 1.0.x changelog
* | | - Fixed 1.0 regression where the eager fetch of cursor.rowcount wasMike Bayer2016-01-055-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | no longer called for an UPDATE or DELETE statement emitted via plain text or via the :func:`.text` construct, affecting those drivers that erase cursor.rowcount once the cursor is closed such as SQL Server ODBC and Firebird drivers. fixes #3622
* | | - break out mysql/base into modules as it's getting huge with more to comeMike Bayer2016-01-045-1489/+1536
| |/ |/|
* | - Fixed an assertion that would raise somewhat inappropriatelyMike Bayer2015-12-233-3/+24
| | | | | | | | | | | | | | | | if a :class:`.Index` were associated with a :class:`.Column` that is associated with a lower-case-t :class:`.TableClause`; the association should be ignored for the purposes of associating the index with a :class:`.Table`. fixes #3616
* | - release date for 1.0.11Mike Bayer2015-12-221-0/+1
| |
* | - An adjustment to the regular expression used to parse MySQL views,Mike Bayer2015-12-223-1/+42
| | | | | | | | | | | | | | such that we no longer assume the "ALGORITHM" keyword is present in the reflected view source, as some users have reported this not being present in some Amazon RDS environments. fixes #3613
* | - changelog for pullreq github:222Mike Bayer2015-12-221-0/+9
| |
* | Merge remote-tracking branch 'origin/pr/222'Mike Bayer2015-12-221-0/+2
|\ \
| * | Add new reserved words for MySQL 5.7.pr/222Hanno Schlichting2015-12-141-0/+2
| | |
* | | - varchar requires a lengthMike Bayer2015-12-221-1/+1
| | |
* | | - add the test from ref #3614 as well for testing ref #3611Mike Bayer2015-12-211-0/+60
| | |
* | | - just use *arg straight without "key" for popMike Bayer2015-12-171-2/+2
| | |
* | | - Further fixes to :ticket:`3605`, pop method on :class:`.MutableDict`,Mike Bayer2015-12-173-3/+26
| | | | | | | | | | | | | | | where the "default" argument was not included. fixes #3605
* | | Make docs listing of param order for event.listen match the codepr/224Jeff Widman2015-12-171-3/+3
| | |
* | | some spelling fixesjonathan vanasco2015-12-162-4/+4
| | |
* | | Merge branch 'master' of bitbucket.org:zzzeek/sqlalchemyjonathan vanasco2015-12-16186-5045/+16501
|\ \ \