]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
6 years agoAdd missing disambiguation to non-primary mapper example rel_0_9
Mike Bayer [Fri, 28 Dec 2018 14:33:07 +0000 (09:33 -0500)] 
Add missing disambiguation to non-primary mapper example

The mapping to B over a join defines an alternate primary key
based on all the primary key columns in the join unless we
re-define it explicitly.   Similarly, people expect that
``.id`` looks the same.  make sure these line up with the
old mapping.

Change-Id: I1ab064c57019e79c34293f6588d1e033f7083974
(cherry picked from commit 16f08cbed5ff4f0f0b08dbd0dbd6e49aaee79163)

6 years ago- remove non-working dialects some of which are 404's
Mike Bayer [Mon, 24 Dec 2018 05:07:22 +0000 (00:07 -0500)] 
- remove non-working dialects some of which are 404's
- put the five major dialect names on the front page
- remove old change messages

Change-Id: Ibf1dc2c499f10f98efb6c97d6c53e442e7746200
(cherry picked from commit eae62d00049a24c028ba95e13b5199cfa59a1180)
(cherry picked from commit afed8c2b70f78684b8eb19eefbd3939b5699d4e6)

6 years agoRewrite the convert_unicode docs and add tons of dragons
Mike Bayer [Fri, 21 Dec 2018 17:13:13 +0000 (12:13 -0500)] 
Rewrite the convert_unicode docs and add tons of dragons

These flags will all be going away as Python 3 has solved
all of this.

Change-Id: I4f581d8dd7826dd823b671d0d8e72250284236c8
(cherry picked from commit 7f12f63c3a8c77715135126aac88ac6055b279c0)

6 years ago- fix formatting on examples to list the description first, some flake8
Mike Bayer [Fri, 7 Dec 2018 17:17:59 +0000 (12:17 -0500)] 
- fix formatting on examples to list the description first, some flake8

Change-Id: I57144a559f20abab02e745d052be5ff84edec7f8
(cherry picked from commit c89729cf67f441359da8289104050b01eb53160b)

6 years agoAll sphinx dependencies move under the github sqlalchemy organization
Mike Bayer [Mon, 3 Dec 2018 22:02:23 +0000 (17:02 -0500)] 
All sphinx dependencies move under the github sqlalchemy organization

Change-Id: I7a0dc1ef320b6abad0eeac8b24c20f821e5b8c81
(cherry picked from commit 89f95e9badb260b78a7f1f7487feb6f9811ae06b)

6 years agotypo
Raphael [Fri, 30 Nov 2018 00:11:24 +0000 (19:11 -0500)] 
typo

typo

(cherry picked from commit 0a0b36686d5da0e7d04974c8df0ece574b71f3cb)

6 years agoMove links etc. to github, new alembic links
Mike Bayer [Tue, 27 Nov 2018 03:58:50 +0000 (22:58 -0500)] 
Move links etc. to github, new alembic links

Change-Id: I59392d355a216ae59552a04c5508f548b901aa7b
(cherry picked from commit 50417cf758508e970f3fccc99af6a501ceac8eb2)
(cherry picked from commit d04575c55467da57ad7091615b313db2486908b6)
(cherry picked from commit fcb4c96cd8d83f31ea86c09c18c075e14d348dd3)
(cherry picked from commit c25af2257f037e5a3b34aa5b79dcbb7f85ebc85d)

6 years ago- remove @HEAD indicator from docs requirements, fixes #4375
Mike Bayer [Mon, 26 Nov 2018 04:54:44 +0000 (23:54 -0500)] 
- remove @HEAD indicator from docs requirements, fixes #4375

Change-Id: I50b1622c2c2236bf9e436f61c7eea31faaeaa3e1
(cherry picked from commit b5cb68ac432bb7477642305504ddcfdb3edaf87f)

6 years agoRemove unnecessary unicode and raw string prefix
Denis Kataev [Fri, 28 Sep 2018 07:40:30 +0000 (12:40 +0500)] 
Remove unnecessary unicode and raw string prefix

(cherry picked from commit fc5dbc30168710ef20c467a54610979cd06a58c7)

6 years agoFix links and update verbiage for reset_on_return
Mike Bayer [Tue, 28 Aug 2018 18:58:05 +0000 (14:58 -0400)] 
Fix links and update verbiage for reset_on_return

Change-Id: I642056b78570b44fdefe7f0874a8e4c720389f14
(cherry picked from commit d8bb208a85f6366c58426a85b3d4ec1d6e43ac6c)

6 years agoCorrect for the INSERT statement, typos
Mike Bayer [Thu, 9 Aug 2018 18:35:52 +0000 (14:35 -0400)] 
Correct for the INSERT statement, typos

Change-Id: I036f3eb9b5e591515920678bc9a76f707fda142c
(cherry picked from commit c85378d9841177b067a93c564edb1787703c6595)

6 years agoWrite a much better section about server defaults
Mike Bayer [Thu, 9 Aug 2018 17:34:03 +0000 (13:34 -0400)] 
Write a much better section about server defaults

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)

7 years agoReplace 'with' with 'which'
Kevin Horn [Fri, 27 Jul 2018 16:06:50 +0000 (11:06 -0500)] 
Replace 'with' with 'which'

(cherry picked from commit 8601e86f1179d93d5d072c8774bfae41caa8cf56)

7 years ago- add some context to the declarative section indicating this is not
Mike Bayer [Thu, 5 Jul 2018 04:05:42 +0000 (00:05 -0400)] 
- add some context to the declarative section indicating this is not
the introductory material for these topics

Change-Id: I358ba8c32520ce3950a727216bc019e33377e7b9
(cherry picked from commit 284009683d9e48e19cc09e740e7b928c2c02997c)

7 years ago- fix linking for the query.rst page
Mike Bayer [Wed, 4 Jul 2018 21:48:31 +0000 (17:48 -0400)] 
- fix linking for the query.rst page

Change-Id: I269fdd72e372e1bf4f0f85e9fc8e6938adc4f686
(cherry picked from commit b6fb6f6b60e87d00fcd702b92e883cf3c61d07c6)

8 years ago- xmin example requires a server default declaration to function
Mike Bayer [Mon, 12 Dec 2016 17:07:11 +0000 (12:07 -0500)] 
- xmin example requires a server default declaration to function
correctly

Change-Id: I1cc50da6fe1c0eeef1d00201b45d998daddfd8ac
(cherry picked from commit a1de76c42f6b64808448aed6e821fbb3b988f99b)

9 years ago- update alembic link
Mike Bayer [Sat, 18 Jun 2016 13:35:54 +0000 (09:35 -0400)] 
- update alembic link

Change-Id: I5ac6ba8234873fdd19bee6c1decd311a9cb4d55e
(cherry picked from commit 13f9578082ae669734d65a38cb6058e21df88362)

9 years agoUpdate tutorial.rst
Ethan [Wed, 20 Apr 2016 15:20:06 +0000 (10:20 -0500)] 
Update tutorial.rst

Fix very minor typo
(cherry picked from commit fc68a7145d086de21005b4ccaa93847d4b889dba)

9 years ago- default branch rel_0_9
Mike Bayer [Tue, 12 Apr 2016 21:29:53 +0000 (17:29 -0400)] 
- default branch rel_0_9

Change-Id: Ib20281d6ea595d6507ec8568b26a0235c88a41a7

9 years agoFix typo from "addreses" to "addresses"
Rachid Belaid [Thu, 7 Apr 2016 03:41:14 +0000 (20:41 -0700)] 
Fix typo from "addreses" to "addresses"

(cherry picked from commit c8db0862c102281da617d395b1826ff523af302e)

9 years agoFix some broken links in docs
Ville Skyttä [Mon, 4 Apr 2016 10:46:07 +0000 (13:46 +0300)] 
Fix some broken links in docs

(cherry picked from commit b1c9b3bd384fc40e1c411abef12eaf04b574612f)

9 years ago- Move review to gerrit.sqlalchemy.org
Mike Bayer [Wed, 6 Apr 2016 13:35:18 +0000 (09:35 -0400)] 
- Move review to gerrit.sqlalchemy.org

Change-Id: Id6e9014cfa8ad558b2f3e90815616f9c26dc884d
(cherry picked from commit be7322b3da8e412bd2376c3ce836ead589d1ad31)

9 years ago- Add a git review file
Mike Bayer [Thu, 31 Mar 2016 19:24:14 +0000 (15:24 -0400)] 
- Add a git review file

Change-Id: Ib19e9ee0854f0d123ea625fb976f1a398cf88c87
(cherry picked from commit fdb6ab6a1d5d55d900c388e039835c6433032977)

9 years agoredundant "using the by changing" -> "using the"
NestorTejero [Wed, 30 Mar 2016 06:48:48 +0000 (08:48 +0200)] 
redundant "using the by changing" -> "using the"
(cherry picked from commit 9bdbf19d54174c1077689bc472dc088c9b06aa24)

9 years agoReST fix: missing backtick
Marius Gedminas [Mon, 21 Mar 2016 10:00:49 +0000 (12:00 +0200)] 
ReST fix: missing backtick

Fixes a misrendering at http://docs.sqlalchemy.org/en/latest/dialects/mssql.html#nullability:
(cherry picked from commit e3abb63293be80379d20b4c3f0d1cd093459a9eb)

9 years ago- backport doc improvements from 31f96c27a5fea302358ba580313a2f742c12b83d re:
Mike Bayer [Tue, 15 Mar 2016 21:21:05 +0000 (17:21 -0400)] 
- backport doc improvements from 31f96c27a5fea302358ba580313a2f742c12b83d re:
isolation_level settings for postgresql, mysql

(cherry picked from commit 49eb39366a0ca54ce973147802864fd7c359adb3)

9 years ago- add notes for pyodbc limitations with rowcount fixes #3675
Mike Bayer [Tue, 15 Mar 2016 15:16:21 +0000 (11:16 -0400)] 
- add notes for pyodbc limitations with rowcount fixes #3675

(cherry picked from commit 8bc370ed382a45654101fa34bac4a2886ce089c3)

9 years agoAdds documentation to Query.slice().
jfinkels [Sun, 13 Mar 2016 19:40:11 +0000 (15:40 -0400)] 
Adds documentation to Query.slice().

(cherry picked from commit 6e5e64e27ef2c6a86c9aebdcefdf2cd726f1476a)

9 years agoUpdate cascades.rst
falkerson [Wed, 9 Mar 2016 07:56:30 +0000 (09:56 +0200)] 
Update cascades.rst
(cherry picked from commit f61194cb865db8b29cc65e47782bb72e54b14ada)

9 years ago- further edit the unnest() example to suit PG's esoteric requirements
Mike Bayer [Thu, 18 Feb 2016 16:33:19 +0000 (11:33 -0500)] 
- further edit the unnest() example to suit PG's esoteric requirements
exactly

(cherry picked from commit c97aa63789036fc145503f03123275253ae02d2c)

9 years ago- use same colname as the alias we give to the PG function
Mike Bayer [Tue, 16 Feb 2016 15:05:58 +0000 (10:05 -0500)] 
- use same colname as the alias we give to the PG function
here, fixes #3652

(cherry picked from commit e310a8e423d9a4eeb511b7b84dbeccc90c234a1f)

9 years ago- add more documentation to MutableDict explaining
Mike Bayer [Wed, 10 Feb 2016 15:15:37 +0000 (10:15 -0500)] 
- add more documentation to MutableDict explaining
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)

9 years ago- fully hyperlink the docstring for make_transient
Mike Bayer [Mon, 8 Feb 2016 23:05:51 +0000 (18:05 -0500)] 
- fully hyperlink the docstring for make_transient
- 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)

9 years agofix %x string format to compatible with Python 3.5
Ruilin Huang [Wed, 27 Jan 2016 08:21:59 +0000 (08:21 +0000)] 
fix %x string format to compatible with Python 3.5
(cherry picked from commit 4b9f6f407ceedde247982501a6ae406242c80b4a)

9 years agofix %x string format to compatible with Python 3.5
xghrl [Wed, 27 Jan 2016 08:10:06 +0000 (08:10 +0000)] 
fix %x string format to compatible with Python 3.5
(cherry picked from commit 324e532d6081d9b9ea90bf3945cecfc792264f8d)

9 years ago- restate the "secondary" / AssociationProxy warning more strongly.
Mike Bayer [Sat, 23 Jan 2016 21:38:44 +0000 (16:38 -0500)] 
- restate the "secondary" / AssociationProxy warning more strongly.
references #3638

(cherry picked from commit 67a69da3aa86c8b2b560ed79a9c91408ad704879)

9 years ago- native unicode expectations are too difficult to maintain
Mike Bayer [Sat, 23 Jan 2016 19:30:30 +0000 (14:30 -0500)] 
- native unicode expectations are too difficult to maintain
w/ the number of drivers /DBURIs /  python versions

(cherry picked from commit d18d6d9baf4c98c47af70c0a7c796423396a51c1)
(cherry picked from commit 341a52015bad4051ddd01396582488106f826118)

9 years ago- move out match compiler test to test_compiler
Mike Bayer [Sat, 23 Jan 2016 19:29:25 +0000 (14:29 -0500)] 
- move out match compiler test to test_compiler
- test_query isn't assertscompiledsql

(cherry picked from commit 269313218ddd06a21387085295c553becbd00e46)
(cherry picked from commit cd3ea1d56bdec8b5b00cd10c5ecc6017bb99bcdd)

9 years ago- documenation updates to clarify specific SQLite versions
Mike Bayer [Thu, 21 Jan 2016 20:21:33 +0000 (15:21 -0500)] 
- documenation updates to clarify specific SQLite versions
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)

9 years ago- generalize the verbiage on LargeBinary so that it doesn't
Mike Bayer [Wed, 20 Jan 2016 21:20:08 +0000 (16:20 -0500)] 
- generalize the verbiage on LargeBinary so that it doesn't
create confusion for inherited classes such as BYTEA, fixes

(cherry picked from commit 47d8858c54401cdf10285b7935049faf87432f55)

9 years ago- update oracle JDBC driver URL, fixes #3554
Mike Bayer [Wed, 20 Jan 2016 20:58:24 +0000 (15:58 -0500)] 
- update oracle JDBC driver URL, fixes #3554

(cherry picked from commit 24dba714cb56e1f5a4dca5453cc5f442e6ee08ab)

9 years ago- cross link for concrete helper classes
Mike Bayer [Wed, 20 Jan 2016 20:28:35 +0000 (15:28 -0500)] 
- cross link for concrete helper classes
- remove redundant concrete helper docs from declarative docs,
two places is enough

(cherry picked from commit a53bd6f74b4f41fd04c8cde1f8b58bbb766fe18d)

9 years ago- typo
Mike Bayer [Wed, 20 Jan 2016 19:03:29 +0000 (14:03 -0500)] 
- typo

9 years ago- redo the docs for concrete inheritance to more strongly
Mike Bayer [Wed, 20 Jan 2016 18:34:57 +0000 (13:34 -0500)] 
- redo the docs for concrete inheritance to more strongly
favor declarative, fixes #2890

(cherry picked from commit 632c4f21fa3cab353b801f585183494c529c6896)

9 years ago- clarify the "Adding" section also illustrates updates, fixes #2942
Mike Bayer [Wed, 20 Jan 2016 17:22:17 +0000 (12:22 -0500)] 
- clarify the "Adding" section also illustrates updates, fixes #2942

(cherry picked from commit 02271efd8976154f855646478b5438db078f7101)

9 years ago- add a note that the literal_binds flag should be used
Mike Bayer [Wed, 20 Jan 2016 17:10:40 +0000 (12:10 -0500)] 
- add a note that the literal_binds flag should be used
when cross-compiling from DDL to SQL, fixes #3615

(cherry picked from commit 165fa15b0f9dbca50539aa7da377c5da5ac0fc79)

9 years ago- fix People -> Person , fixes #3628
Mike Bayer [Sun, 17 Jan 2016 03:04:10 +0000 (22:04 -0500)] 
- fix People -> Person , fixes #3628

(cherry picked from commit 66560cef7457d69f56cd2ca3bab93cb033a61a84)

9 years ago- fix some old verbiage that refers to text() as an "implicit" thing
Mike Bayer [Thu, 14 Jan 2016 22:18:21 +0000 (17:18 -0500)] 
- fix some old verbiage that refers to text() as an "implicit" thing
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)

9 years ago- fix link to types in metadata, fixes #3618
Mike Bayer [Sun, 10 Jan 2016 16:48:53 +0000 (11:48 -0500)] 
- fix link to types in metadata, fixes #3618
- 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)

9 years agoUpdate SQLAlchemy-Migrate link to the new repo
Jeff Widman [Thu, 24 Dec 2015 10:17:02 +0000 (02:17 -0800)] 
Update SQLAlchemy-Migrate link to the new repo
(cherry picked from commit 56b76ce7a823a076bd91490f940df95ad409db61)

9 years agoFix typo in session docs
Adrian Moennich [Sat, 9 Jan 2016 19:35:19 +0000 (20:35 +0100)] 
Fix typo in session docs

(cherry picked from commit bb294497558f96c92253a4a68129a7c7984d3af9)

9 years agosome spelling fixes
jonathan vanasco [Wed, 16 Dec 2015 16:12:07 +0000 (11:12 -0500)] 
some spelling fixes

(cherry picked from commit 738d515b95f1ff94d7dfd265883237d247d1c153)

9 years agoRevert "some spelling fixes" - unfortunately dml.py got whacked / pushed by accident
Mike Bayer [Thu, 17 Dec 2015 15:33:59 +0000 (10:33 -0500)] 
Revert "some spelling fixes" - unfortunately dml.py got whacked / pushed by accident

This reverts commit db706d92ef0e5ebb4c0ba5e7036dc6c0c8f06280.

9 years agosome spelling fixes
jonathan vanasco [Wed, 16 Dec 2015 16:12:07 +0000 (11:12 -0500)] 
some spelling fixes

(cherry picked from commit 738d515b95f1ff94d7dfd265883237d247d1c153)

9 years ago- write a real inline documentation section for from_self(),
Mike Bayer [Mon, 7 Dec 2015 17:36:36 +0000 (12:36 -0500)] 
- write a real inline documentation section for from_self(),
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)

9 years ago- and NLS_LANG....
Mike Bayer [Sat, 5 Dec 2015 22:17:40 +0000 (17:17 -0500)] 
- and NLS_LANG....

(cherry picked from commit 077f26af5f6fefdc98f6720ab5e02b0fad6eff7a)

9 years ago- add ORACLE_HOME to passenv allowing oracle to work w/ tox 2.0
Mike Bayer [Sat, 5 Dec 2015 21:56:53 +0000 (16:56 -0500)] 
- add ORACLE_HOME to passenv allowing oracle to work w/ tox 2.0

(cherry picked from commit 7f423e875669ee549b1f53f90d2db340b6c957cd)

9 years agoMerge remote-tracking branch 'origin/pr/214'
Mike Bayer [Mon, 30 Nov 2015 17:53:56 +0000 (12:53 -0500)] 
Merge remote-tracking branch 'origin/pr/214'

(cherry picked from commit 38e043a475db210143c46588fca70838c9c47c8a)

9 years agofix typo: Explcitly -> Explicitly
Sven Schliesing [Tue, 10 Nov 2015 07:23:58 +0000 (08:23 +0100)] 
fix typo: Explcitly -> Explicitly

(cherry picked from commit 887edc431a4c5198bb4f842419d729aed42a6ce8)

9 years ago- fix ambiguous documentation re: after_flush_postexec(), the
Mike Bayer [Mon, 9 Nov 2015 21:48:58 +0000 (16:48 -0500)] 
- fix ambiguous documentation re: after_flush_postexec(), the
looping nature of it only occurs within the context of a commit.

(cherry picked from commit 5d8bb1f4a65c8932c0dcb39d241b521bd95db681)

9 years ago- fix broken link to loader behavior
Mike Bayer [Sat, 7 Nov 2015 19:24:12 +0000 (14:24 -0500)] 
- fix broken link to loader behavior

(cherry picked from commit 2d54e3819f34e5f886b8d85f5525b83abdf8bc5a)

9 years ago- cross-linking for pool recycle feature
Mike Bayer [Fri, 30 Oct 2015 15:47:32 +0000 (11:47 -0400)] 
- cross-linking for pool recycle feature

(cherry picked from commit 07a199d929aa920b5b2b5d8b2d7008626a731f1f)

9 years ago- add a JSON warning for coerce_compared_value
Mike Bayer [Wed, 28 Oct 2015 15:22:55 +0000 (11:22 -0400)] 
- add a JSON warning for coerce_compared_value

(cherry picked from commit 98c1dcc6bcade313a254fe11e8efa3c5b5ad959e)

9 years agoLink to maintained redshift dialect
Thomas Grainger [Wed, 19 Aug 2015 18:15:40 +0000 (19:15 +0100)] 
Link to maintained redshift dialect
(cherry picked from commit e4bfe2aa4b5246207837b0b1c3ac99483e20498b)

9 years ago- repair laziness about setting time zone here, which is leaking
Mike Bayer [Sun, 11 Oct 2015 16:00:39 +0000 (12:00 -0400)] 
- repair laziness about setting time zone here, which is leaking
out depending on connection pool state

(cherry picked from commit 2a8a06e33af60705faf3e7601ec7b3e31e44f8fb)
(cherry picked from commit 48ad282e379d49cf6d6eb97dc0739fa0f29f5464)

Conflicts:
test/dialect/postgresql/test_query.py

9 years agoUpdate base.py
Peter Demin [Wed, 7 Oct 2015 15:38:48 +0000 (11:38 -0400)] 
Update base.py

Docstring typo keysowrds => keywords
(cherry picked from commit f8eb7c2858443649190b735c587c190ae90b6106)

9 years ago- add an additional note regarding select_from, fixes #3546
Mike Bayer [Fri, 2 Oct 2015 15:23:50 +0000 (11:23 -0400)] 
- add an additional note regarding select_from, fixes #3546

(cherry picked from commit d84dea62de3a9c83ad539a5cf2ff4be2c0685a94)

9 years ago- remove ambiguous use of the phrase "joined together by AND" as this
Mike Bayer [Thu, 1 Oct 2015 13:37:53 +0000 (09:37 -0400)] 
- remove ambiguous use of the phrase "joined together by AND" as this
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)

9 years ago- fix incorrect example in inheritance docs
Mike Bayer [Tue, 15 Sep 2015 15:17:13 +0000 (11:17 -0400)] 
- fix incorrect example in inheritance docs

(cherry picked from commit 7eb34baf99179eec966ddd8b3607a6d8cfdfba21)

9 years ago- add new entry for sharing of Engine across process boundaries
Mike Bayer [Mon, 14 Sep 2015 15:02:43 +0000 (11:02 -0400)] 
- add new entry for sharing of Engine across process boundaries

(cherry picked from commit fe41e39b9b776c18a03dde0540a45e1f0100d44b)

9 years ago- call it deque, since you can really pop from either side
Mike Bayer [Thu, 10 Sep 2015 14:28:42 +0000 (10:28 -0400)] 
- call it deque, since you can really pop from either side

9 years ago- add a new FAQ recipe for "walk all objects", replacing the need
Mike Bayer [Thu, 10 Sep 2015 14:00:46 +0000 (10:00 -0400)] 
- add a new FAQ recipe for "walk all objects", replacing the need
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)

9 years agoCorrecting the Hybrid Property Example
Jason Myers [Thu, 10 Sep 2015 13:23:54 +0000 (08:23 -0500)] 
Correcting the Hybrid Property Example

Fixes #3528

Signed-off-by: Jason Myers <jason@jasonamyers.com>
Conflicts:
lib/sqlalchemy/ext/hybrid.py

9 years agofix typo in session events docs
bsmithgall [Tue, 8 Sep 2015 01:37:19 +0000 (21:37 -0400)] 
fix typo in session events docs

(cherry picked from commit 2fb3bb31ef897ee48748908524288067c53df4e1)

9 years agoMinor grammar fix for capitalisation in session docs
David\ Beitey [Fri, 28 Aug 2015 03:57:54 +0000 (13:57 +1000)] 
Minor grammar fix for capitalisation in session docs

(cherry picked from commit 3bd58fac7b607007cb42ab7e41d2e2d01fc390e2)

9 years ago- update moved link, fixes #3351
Mike Bayer [Thu, 3 Sep 2015 20:42:43 +0000 (16:42 -0400)] 
- update moved link, fixes #3351

(cherry picked from commit 176ac6ab0915f99d378c7d9be67e9c0a73ab1800)

9 years ago- add new documentation that applies to all modern SQLA versions,
Mike Bayer [Fri, 28 Aug 2015 20:06:03 +0000 (16:06 -0400)] 
- add new documentation that applies to all modern SQLA versions,
detailing ORM event recipes across the board.

(cherry picked from commit 8be93c23ee566de7cefd7d1b8ef044324132a70f)

Conflicts:
doc/build/orm/events.rst

9 years ago- add a note about DISTINCT in query w/ ORDER BY, references #3518
Mike Bayer [Mon, 31 Aug 2015 17:13:04 +0000 (13:13 -0400)] 
- add a note about DISTINCT in query w/ ORDER BY, references #3518

(cherry picked from commit 6d0c0994e9a08cf5d149af0314970d5f6e25b159)

9 years ago- use consistent and descriptive language in all cases
Mike Bayer [Fri, 28 Aug 2015 03:38:14 +0000 (23:38 -0400)] 
- use consistent and descriptive language in all cases
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

9 years ago- reword and update documentation on passive_updates=False; as virtually
Mike Bayer [Thu, 27 Aug 2015 19:56:00 +0000 (15:56 -0400)] 
- reword and update documentation on passive_updates=False; as virtually
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)

9 years ago- re-document and fully cross link all of configure_mappers(),
Mike Bayer [Tue, 25 Aug 2015 01:52:33 +0000 (21:52 -0400)] 
- re-document and fully cross link all of configure_mappers(),
mapper_configured(), after_configured(), and before_configured().

(cherry picked from commit 0127ac668e405584d74c92768a9f0dc7913798fe)

9 years ago- rework the "controlling DDL sequences" documentation to
Mike Bayer [Fri, 21 Aug 2015 20:36:15 +0000 (16:36 -0400)] 
- rework the "controlling DDL sequences" documentation to
refer mostly to the DDL object; this system is primarily useful
in that case, and not for built-in objects.  Reference that
the built-in case is not really viable right now. References #3442.

9 years ago- fix missing ANY symbol
Mike Bayer [Tue, 18 Aug 2015 17:37:01 +0000 (13:37 -0400)] 
- fix missing ANY symbol

9 years ago- add tests for InstanceEvents.init, InstanceEvents.init_failure
Mike Bayer [Fri, 14 Aug 2015 19:34:01 +0000 (15:34 -0400)] 
- add tests for InstanceEvents.init, InstanceEvents.init_failure
- 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)

9 years agofix typo int->into
halfcrazy [Sun, 9 Aug 2015 04:00:17 +0000 (12:00 +0800)] 
fix typo int->into
(cherry picked from commit 51870ddaef8abf61ee4c8d6337a72db5395a0a85)

9 years agoRemove useless code
Leonardo Rochael Almeida [Thu, 6 Aug 2015 21:26:45 +0000 (18:26 -0300)] 
Remove useless code

`to_unicode` variable was created but was not used.
(cherry picked from commit 69fcabb335130bd0f6e9889c5b191c68192559b5)

9 years ago- add a note clarifying query.with_labels(), fixes #3506
Mike Bayer [Mon, 3 Aug 2015 21:46:34 +0000 (17:46 -0400)] 
- add a note clarifying query.with_labels(), fixes #3506

(cherry picked from commit 292f5bec1cbfcaa9d16af8fe4149c7191f194f11)

10 years ago- Fixed support for cx_Oracle version 5.2, which was tripping
Mike Bayer [Wed, 29 Jul 2015 21:40:47 +0000 (17:40 -0400)] 
- Fixed support for cx_Oracle version 5.2, which was tripping
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)

10 years ago- using text().columns() for ORM matching won't work well
Mike Bayer [Mon, 27 Jul 2015 02:43:13 +0000 (22:43 -0400)] 
- using text().columns() for ORM matching won't work well
until ticket #3501, so remove this from pre-1.1 tutorials

(cherry picked from commit 7240262adb5d74ec49abdd8561fca58b632c5e8e)

10 years ago- work to bridge between core/ORM tutorials regarding the text() construct
Mike Bayer [Sun, 26 Jul 2015 20:36:23 +0000 (16:36 -0400)] 
- work to bridge between core/ORM tutorials regarding the text() construct

(cherry picked from commit 4f51fa947ffa0cadeab7ad7dcab649ce3fbcf970)

Conflicts:
doc/build/core/tutorial.rst

10 years ago- add an example of text.columns
Mike Bayer [Sun, 26 Jul 2015 20:09:25 +0000 (16:09 -0400)] 
- add an example of text.columns
- correct the scalar() example output

10 years ago- categorize this correctly
Mike Bayer [Wed, 22 Jul 2015 23:59:09 +0000 (19:59 -0400)] 
- categorize this correctly

10 years ago- Fixed critical issue whereby the pool "checkout" event handler
Mike Bayer [Wed, 22 Jul 2015 21:59:34 +0000 (17:59 -0400)] 
- Fixed critical issue whereby the pool "checkout" event handler
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)

10 years ago0.9.10 rel_0_9_10
Mike Bayer [Wed, 22 Jul 2015 17:37:35 +0000 (13:37 -0400)] 
0.9.10

10 years ago- Fixed bug in SQLite dialect where reflection of UNIQUE constraints
Mike Bayer [Tue, 21 Jul 2015 16:33:35 +0000 (12:33 -0400)] 
- Fixed bug in SQLite dialect where reflection of UNIQUE constraints
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

10 years ago- try to note under insert.values(), if you need
Mike Bayer [Thu, 9 Jul 2015 00:37:04 +0000 (20:37 -0400)] 
- try to note under insert.values(), if you need
"multiple parameter sets" there is a much more common case
which works equally well for INSERT/UPDATE/DELETE e.g.
executemany().   reference #3476

10 years ago- add a warning suggesting to use the dictionary form of access
Mike Bayer [Sun, 5 Jul 2015 15:16:26 +0000 (11:16 -0400)] 
- add a warning suggesting to use the dictionary form of access
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)

10 years ago- fix the link here fixes 3473
Mike Bayer [Fri, 3 Jul 2015 16:16:07 +0000 (12:16 -0400)] 
- fix the link here fixes 3473

(cherry picked from commit cf21497f02e64b6ddec82e12a7c26b9476616b00)

10 years agoFix code examples in automap's documentation
Yuri Baida [Fri, 26 Jun 2015 17:45:48 +0000 (10:45 -0700)] 
Fix code examples in automap's documentation

Fix camelize_classname and pluralize_collection functions as they didn't work as expected.
(cherry picked from commit 5717186122d5538e53205268846beb7143a3d4cc)

10 years ago- edits to this section
Mike Bayer [Tue, 23 Jun 2015 02:24:07 +0000 (22:24 -0400)] 
- edits to this section

(cherry picked from commit 00656ae4930620bc8c0c4be6a82853f01c90f758)