summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite the convert_unicode docs and add tons of dragonsMike Bayer2018-12-212-36/+75
| | | | | | | | These flags will all be going away as Python 3 has solved all of this. Change-Id: I4f581d8dd7826dd823b671d0d8e72250284236c8 (cherry picked from commit 7f12f63c3a8c77715135126aac88ac6055b279c0)
* typoRaphael2018-11-301-1/+1
| | | | | | typo (cherry picked from commit 0a0b36686d5da0e7d04974c8df0ece574b71f3cb)
* Fix links and update verbiage for reset_on_returnMike Bayer2018-08-282-20/+18
| | | | | Change-Id: I642056b78570b44fdefe7f0874a8e4c720389f14 (cherry picked from commit d8bb208a85f6366c58426a85b3d4ec1d6e43ac6c)
* Write a much better section about server defaultsMike Bayer2018-08-091-0/+4
| | | | | | | | | | | Include information about eager_defaults etc. These docs were written before we had all the features we do now. Change-Id: Ie62e58c5986698824f717e9f8c802b07a27517d4 Fixes: #4317 (cherry picked from commit 82dfcf43de1d1647306ee2840b79be4f9df7588a) (cherry picked from commit 47e3f37d904e0e26d0da34fb7fe86f5a35e958db)
* Fix typo from "addreses" to "addresses"Rachid Belaid2016-04-081-1/+1
| | | | (cherry picked from commit c8db0862c102281da617d395b1826ff523af302e)
* Fix some broken links in docsVille Skyttä2016-04-061-1/+1
| | | | (cherry picked from commit b1c9b3bd384fc40e1c411abef12eaf04b574612f)
* ReST fix: missing backtickMarius Gedminas2016-03-211-1/+1
| | | | | Fixes a misrendering at http://docs.sqlalchemy.org/en/latest/dialects/mssql.html#nullability: (cherry picked from commit e3abb63293be80379d20b4c3f0d1cd093459a9eb)
* - backport doc improvements from 31f96c27a5fea302358ba580313a2f742c12b83d re:Mike Bayer2016-03-152-13/+27
| | | | | | isolation_level settings for postgresql, mysql (cherry picked from commit 49eb39366a0ca54ce973147802864fd7c359adb3)
* - add notes for pyodbc limitations with rowcount fixes #3675Mike Bayer2016-03-152-0/+41
| | | | (cherry picked from commit 8bc370ed382a45654101fa34bac4a2886ce089c3)
* Adds documentation to Query.slice().jfinkels2016-03-131-3/+28
| | | | (cherry picked from commit 6e5e64e27ef2c6a86c9aebdcefdf2cd726f1476a)
* - further edit the unnest() example to suit PG's esoteric requirementsMike Bayer2016-02-181-4/+6
| | | | | | exactly (cherry picked from commit c97aa63789036fc145503f03123275253ae02d2c)
* - use same colname as the alias we give to the PG functionMike Bayer2016-02-161-2/+2
| | | | | | here, fixes #3652 (cherry picked from commit e310a8e423d9a4eeb511b7b84dbeccc90c234a1f)
* - add more documentation to MutableDict explainingMike Bayer2016-02-101-0/+12
| | | | | | | | that this structure is only intended to track additions and removals from the dictionary, not recursive tracking of embedded changes. fixes #3646. (cherry picked from commit 5497b1086f9fe44e0594079b036ea939fbc3c479)
* - fully hyperlink the docstring for make_transientMike Bayer2016-02-082-12/+48
| | | | | | | | | | | - establish make_transient and make_transient_to_detached as special-use, advanced use only functions - list all conditions under make_transient() under which an attribute will not be loaded and establish that make_transient() does not attempt to load all attributes before detaching the object from its session, fixes #3640 (cherry picked from commit 7eff4e8f3e3999d9eb914647d8776e6e5b7ee88e)
* - documenation updates to clarify specific SQLite versionsMike Bayer2016-01-211-2/+14
| | | | | | | | | | | that have problems with right-nested joins and UNION column keys; references #3633 references #3634. backport from 1.1 to 0.9 announcing 1.1 as where these behaviors will be retired based on version-specific checks - fix test_resultset so that it passes when SQLite 3.10.0 is present, references #3633 (cherry picked from commit 89fa08792e98b9e31452aa3c949d9b909b10e7cd)
* - generalize the verbiage on LargeBinary so that it doesn'tMike Bayer2016-01-201-10/+5
| | | | | | create confusion for inherited classes such as BYTEA, fixes (cherry picked from commit 47d8858c54401cdf10285b7935049faf87432f55)
* - update oracle JDBC driver URL, fixes #3554Mike Bayer2016-01-201-2/+1
| | | | (cherry picked from commit 24dba714cb56e1f5a4dca5453cc5f442e6ee08ab)
* - cross link for concrete helper classesMike Bayer2016-01-201-2/+19
| | | | | | | - remove redundant concrete helper docs from declarative docs, two places is enough (cherry picked from commit a53bd6f74b4f41fd04c8cde1f8b58bbb766fe18d)
* - add a note that the literal_binds flag should be usedMike Bayer2016-01-201-1/+11
| | | | | | when cross-compiling from DDL to SQL, fixes #3615 (cherry picked from commit 165fa15b0f9dbca50539aa7da377c5da5ac0fc79)
* - 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. (cherry picked from commit d5d7284bdd0ffc96e7a79354944627cf9b5d8e4d)
* - fix link to types in metadata, fixes #3618Mike Bayer2016-01-101-1/+1
| | | | | | | | - fix "version" got whacked into "f" in core tutorial - fix short underline in automap - fix unmatched boldface in session events (cherry picked from commit d03477d4b761132f44c48417be09d622ad9adfd3)
* Revert "some spelling fixes" - unfortunately dml.py got whacked / pushed by ↵Mike Bayer2015-12-171-0/+788
| | | | | | accident This reverts commit db706d92ef0e5ebb4c0ba5e7036dc6c0c8f06280.
* some spelling fixesjonathan vanasco2015-12-161-788/+0
| | | | (cherry picked from commit 738d515b95f1ff94d7dfd265883237d247d1c153)
* - write a real inline documentation section for from_self(),Mike Bayer2015-12-071-2/+163
| | | | | | | building on the example of query.join(). Ideally all the methods in Query would have this kind of thing. fixes #3544 (cherry picked from commit 8fa62d652b8d1834e23ba36e56c7bd711cc37e37)
* fix typo: Explcitly -> ExplicitlySven Schliesing2015-11-101-1/+1
| | | | (cherry picked from commit 887edc431a4c5198bb4f842419d729aed42a6ce8)
* - cross-linking for pool recycle featureMike Bayer2015-10-301-0/+5
| | | | (cherry picked from commit 07a199d929aa920b5b2b5d8b2d7008626a731f1f)
* - add a JSON warning for coerce_compared_valueMike Bayer2015-10-281-0/+20
| | | | (cherry picked from commit 98c1dcc6bcade313a254fe11e8efa3c5b5ad959e)
* Update base.pyPeter Demin2015-10-081-1/+1
| | | | | Docstring typo keysowrds => keywords (cherry picked from commit f8eb7c2858443649190b735c587c190ae90b6106)
* - remove ambiguous use of the phrase "joined together by AND" as thisMike Bayer2015-10-011-5/+6
| | | | | | | | | may be construed as the Python "and" keyword - add notes to ORM tutorial for beginners that Python "and" keyword is not to be used fixes #3545 (cherry picked from commit ac08920284935e7e7519ce77ba369703390155dc)
* - add a new FAQ recipe for "walk all objects", replacing the needMike Bayer2015-09-101-4/+13
| | | | | | | | to use mapper.cascade_iterator() for this purpose as it was not really designed for that use case. Add docs to cascade_iterator() pointing to the recipe. fixes #3498 (cherry picked from commit 03797b78475bec9fb9c15f8e926414f3720a273c)
* Correcting the Hybrid Property ExampleJason Myers2015-09-101-2/+2
| | | | | | | | | Fixes #3528 Signed-off-by: Jason Myers <jason@jasonamyers.com> Conflicts: lib/sqlalchemy/ext/hybrid.py
* - add new documentation that applies to all modern SQLA versions,Mike Bayer2015-09-021-140/+83
| | | | | | | | | detailing ORM event recipes across the board. (cherry picked from commit 8be93c23ee566de7cefd7d1b8ef044324132a70f) Conflicts: doc/build/orm/events.rst
* - add a note about DISTINCT in query w/ ORDER BY, references #3518Mike Bayer2015-08-311-0/+13
| | | | (cherry picked from commit 6d0c0994e9a08cf5d149af0314970d5f6e25b159)
* - use consistent and descriptive language in all casesMike Bayer2015-08-272-3/+25
| | | | | | | | | | | where we refer to the "weak_identity_map" option, and add additional exposition in the session documentation which refers to it. fixes #3517 (cherry picked from commit 956907a4b15f6dcc492582a7ad03706ff62d96fb) Conflicts: lib/sqlalchemy/orm/identity.py
* - reword and update documentation on passive_updates=False; as virtuallyMike Bayer2015-08-271-21/+17
| | | | | | | | | all DBs now support ON UPDATE CASCADE other than Oracle, there's no need to try to reimplement more functionality here and users should be encouraged to forego natural PKs unless their target platform supports them. references #2666 (cherry picked from commit d459afa8dbf73b8d9d620d09dede97e3461b6b3f)
* - re-document and fully cross link all of configure_mappers(),Mike Bayer2015-08-242-20/+111
| | | | | | mapper_configured(), after_configured(), and before_configured(). (cherry picked from commit 0127ac668e405584d74c92768a9f0dc7913798fe)
* - add tests for InstanceEvents.init, InstanceEvents.init_failureMike Bayer2015-08-142-5/+68
| | | | | | | | | - ensure that kwargs can be modified in-place within InstanceEvents.init and that these take effect for the __init__ method. - improve documentation for these and related events, including that kwargs can be modified in-place. (cherry picked from commit b00b430e87512d721ad30c81fdcb35a5253dfc0a)
* fix typo int->intohalfcrazy2015-08-091-1/+1
| | | | (cherry picked from commit 51870ddaef8abf61ee4c8d6337a72db5395a0a85)
* Remove useless codeLeonardo Rochael Almeida2015-08-061-3/+0
| | | | | `to_unicode` variable was created but was not used. (cherry picked from commit 69fcabb335130bd0f6e9889c5b191c68192559b5)
* - add a note clarifying query.with_labels(), fixes #3506Mike Bayer2015-08-031-0/+10
| | | | (cherry picked from commit 292f5bec1cbfcaa9d16af8fe4149c7191f194f11)
* - Fixed support for cx_Oracle version 5.2, which was trippingMike Bayer2015-07-291-2/+5
| | | | | | | | | | up SQLAlchemy's version detection under Python 3 and inadvertently not using the correct unicode mode for Python 3. This would cause issues such as bound variables mis-interpreted as NULL and rows silently not being returned. fixes #3491 (cherry picked from commit d8efa2257ec650b345ec6e840984387263a957a6)
* - Fixed critical issue whereby the pool "checkout" event handlerMike Bayer2015-07-223-3/+6
| | | | | | | | | | | | | | may be called against a stale connection without the "connect" event handler having been called, in the case where the pool attempted to reconnect after being invalidated and failed; the stale connection would remain present and would be used on a subsequent attempt. This issue has a greater impact in the 1.0 series subsequent to 1.0.2, as it also delivers a blanked-out ``.info`` dictionary to the event handler; prior to 1.0.2 the ``.info`` dictionary is still the previous one. fixes #3497 (cherry picked from commit 4096ad0f0980f6940be57aaee85791df8f975cd7)
* - Fixed bug in SQLite dialect where reflection of UNIQUE constraintsMike Bayer2015-07-212-1/+9
| | | | | | | | | | | that included non-alphabetic characters in the names, like dots or spaces, would not be reflected with their name. fixes #3495 (cherry picked from commit f39e692d1249aeffb4de85987f6a74303fc5dcc5) Conflicts: lib/sqlalchemy/dialects/sqlite/base.py
* - try to note under insert.values(), if you needMike Bayer2015-07-081-3/+7
| | | | | | "multiple parameter sets" there is a much more common case which works equally well for INSERT/UPDATE/DELETE e.g. executemany(). reference #3476
* - add a warning suggesting to use the dictionary form of accessMike Bayer2015-07-051-0/+33
| | | | | | | | if the name of the attribute being accessed is non-specific, thereby avoiding collisions on names like items, values, keys. fixes #3475 (cherry picked from commit 6fcc5d4a07e5c409a7d8438582598d0e90562ea0)
* Fix code examples in automap's documentationYuri Baida2015-06-261-5/+4
| | | | | Fix camelize_classname and pluralize_collection functions as they didn't work as expected. (cherry picked from commit 5717186122d5538e53205268846beb7143a3d4cc)
* - more edits, references #3461Mike Bayer2015-06-191-2/+4
| | | | (cherry picked from commit 7aa2100db3e6f768a280b4dfdb675d6709f94625)
* - add explciit section on engine disposal, fixes #3461Mike Bayer2015-06-191-14/+10
| | | | (cherry picked from commit 3d78705cf4981e460d6d1b5bb08870286fc3fe93)
* - automap is stableMike Bayer2015-06-181-6/+0
| | | | (cherry picked from commit 370b237ddb6af0ba62f0ce5b1bedfe7556c6ccf3)
* - document SQlite dotted name issue, fixes #3441Mike Bayer2015-06-051-0/+101
| | | | (cherry picked from commit 4c90f355fd552e70009ffcdf3fdde9f3653e337e)