| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
These flags will all be going away as Python 3 has solved
all of this.
Change-Id: I4f581d8dd7826dd823b671d0d8e72250284236c8
(cherry picked from commit 7f12f63c3a8c77715135126aac88ac6055b279c0)
|
| |
|
|
|
|
| |
typo
(cherry picked from commit 0a0b36686d5da0e7d04974c8df0ece574b71f3cb)
|
| |
|
|
|
| |
Change-Id: I642056b78570b44fdefe7f0874a8e4c720389f14
(cherry picked from commit d8bb208a85f6366c58426a85b3d4ec1d6e43ac6c)
|
| |
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
| |
(cherry picked from commit c8db0862c102281da617d395b1826ff523af302e)
|
| |
|
|
| |
(cherry picked from commit b1c9b3bd384fc40e1c411abef12eaf04b574612f)
|
| |
|
|
|
| |
Fixes a misrendering at http://docs.sqlalchemy.org/en/latest/dialects/mssql.html#nullability:
(cherry picked from commit e3abb63293be80379d20b4c3f0d1cd093459a9eb)
|
| |
|
|
|
|
| |
isolation_level settings for postgresql, mysql
(cherry picked from commit 49eb39366a0ca54ce973147802864fd7c359adb3)
|
| |
|
|
| |
(cherry picked from commit 8bc370ed382a45654101fa34bac4a2886ce089c3)
|
| |
|
|
| |
(cherry picked from commit 6e5e64e27ef2c6a86c9aebdcefdf2cd726f1476a)
|
| |
|
|
|
|
| |
exactly
(cherry picked from commit c97aa63789036fc145503f03123275253ae02d2c)
|
| |
|
|
|
|
| |
here, fixes #3652
(cherry picked from commit e310a8e423d9a4eeb511b7b84dbeccc90c234a1f)
|
| |
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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)
|
| |
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
create confusion for inherited classes such as BYTEA, fixes
(cherry picked from commit 47d8858c54401cdf10285b7935049faf87432f55)
|
| |
|
|
| |
(cherry picked from commit 24dba714cb56e1f5a4dca5453cc5f442e6ee08ab)
|
| |
|
|
|
|
|
| |
- remove redundant concrete helper docs from declarative docs,
two places is enough
(cherry picked from commit a53bd6f74b4f41fd04c8cde1f8b58bbb766fe18d)
|
| |
|
|
|
|
| |
when cross-compiling from DDL to SQL, fixes #3615
(cherry picked from commit 165fa15b0f9dbca50539aa7da377c5da5ac0fc79)
|
| |
|
|
|
|
|
| |
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 "version" got whacked into "f" in core tutorial
- fix short underline in automap
- fix unmatched boldface in session events
(cherry picked from commit d03477d4b761132f44c48417be09d622ad9adfd3)
|
| |
|
|
|
|
| |
accident
This reverts commit db706d92ef0e5ebb4c0ba5e7036dc6c0c8f06280.
|
| |
|
|
| |
(cherry picked from commit 738d515b95f1ff94d7dfd265883237d247d1c153)
|
| |
|
|
|
|
|
| |
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)
|
| |
|
|
| |
(cherry picked from commit 887edc431a4c5198bb4f842419d729aed42a6ce8)
|
| |
|
|
| |
(cherry picked from commit 07a199d929aa920b5b2b5d8b2d7008626a731f1f)
|
| |
|
|
| |
(cherry picked from commit 98c1dcc6bcade313a254fe11e8efa3c5b5ad959e)
|
| |
|
|
|
| |
Docstring typo keysowrds => keywords
(cherry picked from commit f8eb7c2858443649190b735c587c190ae90b6106)
|
| |
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
| |
Fixes #3528
Signed-off-by: Jason Myers <jason@jasonamyers.com>
Conflicts:
lib/sqlalchemy/ext/hybrid.py
|
| |
|
|
|
|
|
|
|
| |
detailing ORM event recipes across the board.
(cherry picked from commit 8be93c23ee566de7cefd7d1b8ef044324132a70f)
Conflicts:
doc/build/orm/events.rst
|
| |
|
|
| |
(cherry picked from commit 6d0c0994e9a08cf5d149af0314970d5f6e25b159)
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
mapper_configured(), after_configured(), and before_configured().
(cherry picked from commit 0127ac668e405584d74c92768a9f0dc7913798fe)
|
| |
|
|
|
|
|
|
|
| |
- 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)
|
| |
|
|
| |
(cherry picked from commit 51870ddaef8abf61ee4c8d6337a72db5395a0a85)
|
| |
|
|
|
| |
`to_unicode` variable was created but was not used.
(cherry picked from commit 69fcabb335130bd0f6e9889c5b191c68192559b5)
|
| |
|
|
| |
(cherry picked from commit 292f5bec1cbfcaa9d16af8fe4149c7191f194f11)
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
"multiple parameter sets" there is a much more common case
which works equally well for INSERT/UPDATE/DELETE e.g.
executemany(). reference #3476
|
| |
|
|
|
|
|
|
| |
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 camelize_classname and pluralize_collection functions as they didn't work as expected.
(cherry picked from commit 5717186122d5538e53205268846beb7143a3d4cc)
|
| |
|
|
| |
(cherry picked from commit 7aa2100db3e6f768a280b4dfdb675d6709f94625)
|
| |
|
|
| |
(cherry picked from commit 3d78705cf4981e460d6d1b5bb08870286fc3fe93)
|
| |
|
|
| |
(cherry picked from commit 370b237ddb6af0ba62f0ce5b1bedfe7556c6ccf3)
|
| |
|
|
| |
(cherry picked from commit 4c90f355fd552e70009ffcdf3fdde9f3653e337e)
|