]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
10 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)

10 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

10 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)

10 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)

10 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.

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

10 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)

10 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)

10 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)

10 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)

10 years ago- add a new FAQ on re-reading of data within a transaction, since
Mike Bayer [Tue, 23 Jun 2015 01:33:40 +0000 (21:33 -0400)] 
- add a new FAQ on re-reading of data within a transaction, since
this is definitely something that is asked regularly.

(cherry picked from commit be2b35f7f2156c4b723df9e7be389e6575afedc4)

10 years ago- more edits, references #3461
Mike Bayer [Fri, 19 Jun 2015 18:54:26 +0000 (14:54 -0400)] 
- more edits, references #3461

(cherry picked from commit 7aa2100db3e6f768a280b4dfdb675d6709f94625)

10 years ago- fix the bullets
Mike Bayer [Fri, 19 Jun 2015 17:08:47 +0000 (13:08 -0400)] 
- fix the bullets
- tone down the "never dispose an engine" language
- refer to NullPool for the "I don't like pooling" use case
references #3461

(cherry picked from commit a1b6e9f324eec04ff69f2ac5347ad3df5b931dd5)

10 years ago- add explciit section on engine disposal, fixes #3461
Mike Bayer [Fri, 19 Jun 2015 15:49:49 +0000 (11:49 -0400)] 
- add explciit section on engine disposal, fixes #3461

(cherry picked from commit 3d78705cf4981e460d6d1b5bb08870286fc3fe93)

10 years ago- automap is stable
Mike Bayer [Thu, 18 Jun 2015 17:13:54 +0000 (13:13 -0400)] 
- automap is stable

(cherry picked from commit 370b237ddb6af0ba62f0ce5b1bedfe7556c6ccf3)

10 years ago- add a subsection on how to use Sequence with server_default,
Mike Bayer [Tue, 16 Jun 2015 17:16:59 +0000 (13:16 -0400)] 
- add a subsection on how to use Sequence with server_default,
fixes #3453

(cherry picked from commit b861b7537c29349da00793fc828226a68cded62d)

10 years ago- add an 0.9 migration note regarding TypeEngine's default
Mike Bayer [Wed, 10 Jun 2015 14:48:16 +0000 (10:48 -0400)] 
- add an 0.9 migration note regarding TypeEngine's default
constructor removal; fixes #3446

10 years ago- add a comment, also I think we want to expire before we do the
Mike Bayer [Tue, 9 Jun 2015 16:20:07 +0000 (12:20 -0400)] 
- add a comment, also I think we want to expire before we do the
new begin, as begin_nested() does a flush

(cherry picked from commit 8f1130672d5a54dee311a11041857abfe85aa8a5)

10 years agoExpire session in testing transaction handling
Charles-Axel Dein [Mon, 8 Jun 2015 17:01:59 +0000 (10:01 -0700)] 
Expire session in testing transaction handling

(cherry picked from commit d1dc39d55d111cdeffa663deec773d8bb67d237e)

10 years ago- document SQlite dotted name issue, fixes #3441
Mike Bayer [Fri, 5 Jun 2015 20:11:13 +0000 (16:11 -0400)] 
- document SQlite dotted name issue, fixes #3441

(cherry picked from commit 4c90f355fd552e70009ffcdf3fdde9f3653e337e)

10 years agoUpdate to correct TDS version; FreeTDS only supports up to 7.3. 8.0 is not a valid...
Allen, Timothy [Thu, 28 May 2015 18:25:56 +0000 (11:25 -0700)] 
Update to correct TDS version; FreeTDS only supports up to 7.3. 8.0 is not a valid version (Microsoft released the spec late).

(cherry picked from commit 19571e2f8f4b621f3a1eaea198a8556497178015)

10 years agoFix typo in directive
Éric Araujo [Fri, 29 May 2015 19:21:16 +0000 (15:21 -0400)] 
Fix typo in directive
(cherry picked from commit 6245d003f2ce404daedfba9101bb1e4f098b4c66)

10 years agoRemove spaces around kwargs in metadata.rst
Jochen Van de Velde [Tue, 26 May 2015 21:27:05 +0000 (23:27 +0200)] 
Remove spaces around kwargs in metadata.rst

(cherry picked from commit 1bc7881171e02a80bcdb45191be6c6d83b6f01fd)

10 years ago- break out binary insert against None, disable for freetds for now
Mike Bayer [Sun, 24 May 2015 21:08:02 +0000 (17:08 -0400)] 
- break out binary insert against None, disable for freetds for now

(cherry picked from commit 0198d9aa5fee96c7523cc3e827baaba442c0ba02)

- backport no freetds rule

10 years ago- autopep8
Mike Bayer [Sun, 24 May 2015 21:07:54 +0000 (17:07 -0400)] 
- autopep8

(cherry picked from commit 96f49085b8dd05062b97c4f9c892c071042dad66)

10 years ago- liberalize list.remove() regexp as recent Pypy versions
Mike Bayer [Sun, 24 May 2015 13:49:14 +0000 (09:49 -0400)] 
- liberalize list.remove() regexp as recent Pypy versions
format this message differently than cpython

(cherry picked from commit 1bb9c99ea9f3e36e5d4a9f1d4f21f1d0a252db4a)

10 years ago- document fully how to use autoincrement w/ SQLite including
Mike Bayer [Fri, 22 May 2015 17:27:09 +0000 (13:27 -0400)] 
- document fully how to use autoincrement w/ SQLite including
non-Integer column types, fixes #2075

10 years agoflake8 some tests
Mike Bayer [Thu, 21 May 2015 17:43:37 +0000 (13:43 -0400)] 
flake8 some tests

(cherry picked from commit 164f2ad2f433b3d297df709d617a1fc421495921)

10 years agoCorrecting typo in introspection
Pierre Rochard [Sun, 17 May 2015 21:28:56 +0000 (17:28 -0400)] 
Correcting typo in introspection
(cherry picked from commit 9434356da63006b3bfbb7833bb62def4cda17189)

10 years ago- Added official support for a CTE used by the SELECT present
Mike Bayer [Fri, 8 May 2015 16:37:55 +0000 (12:37 -0400)] 
- Added official support for a CTE used by the SELECT present
inside of :meth:`.Insert.from_select`.  This behavior worked
accidentally up until 0.9.9, when it no longer worked due to
unrelated changes as part of :ticket:`3248`.   Note that this
is the rendering of the WITH clause after the INSERT, before the
SELECT; the full functionality of CTEs rendered at the top
level of INSERT, UPDATE, DELETE is a new feature targeted for a
later release.
fixes #3418

(cherry picked from commit eb1bb84fbc10c801c7269a3d38c9e0235327857e)

10 years ago- plead with RTD to please please use the correct version
Mike Bayer [Thu, 7 May 2015 20:19:08 +0000 (16:19 -0400)] 
- plead with RTD to please please use the correct version

(cherry picked from commit 6d7901fa7d3feb5c7894e31a48d249b445557f20)

10 years agoRTD doesn't seem to want to refresh on a git tag so go back to using
Mike Bayer [Thu, 7 May 2015 20:05:48 +0000 (16:05 -0400)] 
RTD doesn't seem to want to refresh on a git tag so go back to using
release numbers

10 years ago- re-tag zzzeeksphinx w/ new version supporting sphinx 1.3
Mike Bayer [Thu, 7 May 2015 17:47:38 +0000 (13:47 -0400)] 
- re-tag zzzeeksphinx w/ new version supporting sphinx 1.3

(cherry picked from commit 4f31db82100bee20284d8e9273ac9c6d147a32e3)

10 years ago- bump zs version due to not yet diagnosed error
Mike Bayer [Thu, 7 May 2015 16:34:38 +0000 (12:34 -0400)] 
- bump zs version due to not yet diagnosed error

(cherry picked from commit ae4c2b6cbee0f993b3937237411df7fb8e66592d)

10 years ago- fix typo MANYTOONE -> MANYTOMANY, fixes #3415
Mike Bayer [Tue, 5 May 2015 20:55:09 +0000 (16:55 -0400)] 
- fix typo MANYTOONE -> MANYTOMANY, fixes #3415

(cherry picked from commit be81cb200d9efb45c3bf331315c54dff778b5de6)

10 years ago- Repair _reinstall_default_lookups to also flip the _extended flag
Mike Bayer [Fri, 1 May 2015 16:06:34 +0000 (12:06 -0400)] 
- Repair _reinstall_default_lookups to also flip the _extended flag
off again so that test fixtures setup/teardown instrumentation as
expected
- clean up test_extendedattr.py and fix it to no longer leak
itself outside by ensuring _reinstall_default_lookups is always called,
part of #3408
- Fixed bug where when using extended attribute instrumentation system,
the correct exception would not be raised when :func:`.class_mapper`
were called with an invalid input that also happened to not
be weak referencable, such as an integer.
fixes #3408

(cherry picked from commit 95949db715ff54be01bfd260a51903ede60597ae)

10 years ago- Fixed an import that prevented "pypy setup.py test" from working
Mike Bayer [Fri, 1 May 2015 13:38:21 +0000 (09:38 -0400)] 
- Fixed an import that prevented "pypy setup.py test" from working
correctly.
fixes #3406

10 years ago- Repaired / added to tests yet more expressions that were reported
Mike Bayer [Fri, 1 May 2015 13:20:10 +0000 (09:20 -0400)] 
- Repaired / added to tests yet more expressions that were reported
as failing with the new 'entity' key value added to
:attr:`.Query.column_descriptions`, the logic to discover the "from"
clause is again reworked to accommodate columns from aliased classes,
as well as to report the correct value for the "aliased" flag in these
cases.
fixes #3409

(cherry picked from commit 24d6ea362e757c79b3bada663cf6fc9f262dae4f)

10 years ago- Fixed regression from 0.9.10 prior to release due to :ticket:`3349`
Mike Bayer [Fri, 1 May 2015 01:26:48 +0000 (21:26 -0400)] 
- Fixed regression from 0.9.10 prior to release due to :ticket:`3349`
where the check for query state on :meth:`.Query.update` or
:meth:`.Query.delete` compared the empty tuple to itself using ``is``,
which fails on Pypy to produce ``True`` in this case; this would
erronously emit a warning in 0.9 and raise an exception in 1.0.
fixes #3405

(cherry picked from commit 681276b5b4ae48924c85a1c26af3f9bde3d77b5f)

10 years ago- Fixed regression from as yet unreleased 0.9.10 where the new addition
Mike Bayer [Thu, 30 Apr 2015 16:53:27 +0000 (12:53 -0400)] 
- Fixed regression from as yet unreleased 0.9.10 where the new addition
of ``entity`` to the :attr:`.Query.column_descriptions` accessor
would fail if the target entity was produced from a core selectable
such as a :class:`.Table` or :class:`.CTE` object.
fixes #3403  references #3320

(cherry picked from commit 20e3df602846bb1d8940b5138f21ef203c99bade)

10 years ago- add boldface for "viable" plus a note describing that this
Mike Bayer [Wed, 29 Apr 2015 04:05:25 +0000 (00:05 -0400)] 
- add boldface for "viable" plus a note describing that this
refers to the table having a primary key.  fixes #3398

(cherry picked from commit 93b5eae9843d423378f68be928a4f1e6fcacfb87)

10 years agoFix typo in 'Relationships API' docs
Ernest Walzel [Tue, 28 Apr 2015 11:26:16 +0000 (12:26 +0100)] 
Fix typo in 'Relationships API' docs
exprssed -> expressed

(cherry picked from commit da327d0349b2af88700808c8e0041eda4c57882f)

10 years ago- try pinning a tag here to for RTD to please build correctly
Mike Bayer [Sat, 25 Apr 2015 14:48:54 +0000 (10:48 -0400)] 
- try pinning a tag here to for RTD to please build correctly

(cherry picked from commit 6833669469b646fbd332b9ce4bd59a1122d3aa99)

10 years ago- add a warning to SingletonThreadPool that it isn't for general use
Mike Bayer [Tue, 21 Apr 2015 15:04:21 +0000 (11:04 -0400)] 
- add a warning to SingletonThreadPool that it isn't for general use

(cherry picked from commit 732fb99fc0afbeb69d684b2bfa6d0be6250919a3)

10 years ago- Added the string value ``"none"`` to those accepted by the
Mike Bayer [Tue, 21 Apr 2015 14:04:02 +0000 (10:04 -0400)] 
- Added the string value ``"none"`` to those accepted by the
:paramref:`.Pool.reset_on_return` parameter as a synonym for ``None``,
so that string values can be used for all settings, allowing
.ini file utilities like :func:`.engine_from_config` to be usable
without issue.
fixes #3375

(cherry picked from commit c2e3002503242331fc8f2b314e0d4f3c65de9d73)

10 years agoPEP8 cleanup in /test/aaa_profiling
Eric Streeper [Thu, 19 Mar 2015 05:56:18 +0000 (22:56 -0700)] 
PEP8 cleanup in /test/aaa_profiling

(cherry picked from commit 45876612d2342250b73a9d3d9afd2bd6008db4c6)

10 years agoPEP8 cleanup in /test/engine
Eric Streeper [Fri, 20 Mar 2015 07:32:05 +0000 (00:32 -0700)] 
PEP8 cleanup in /test/engine

(cherry picked from commit 0f0e305d25b6da1d42259e53ebd48712dfae5f40)

10 years agoPEP8 cleanup in /test/sql
Eric Streeper [Thu, 19 Mar 2015 04:38:57 +0000 (21:38 -0700)] 
PEP8 cleanup in /test/sql

(cherry picked from commit e467db9edba1e629ba45704047fa76ecd08922ff)

10 years ago- adjust for "0"
Mike Bayer [Sun, 12 Apr 2015 16:59:31 +0000 (12:59 -0400)] 
- adjust for "0"

(cherry picked from commit fc702c9d809878c5a5d85876bfa23e17177940c2)

10 years ago- remove errant 1.0 migration doc from 0.9 branch
Mike Bayer [Fri, 10 Apr 2015 15:23:54 +0000 (11:23 -0400)] 
- remove errant 1.0 migration doc from 0.9 branch

10 years ago- Fixed issue where a :class:`.MetaData` object that used a naming
Mike Bayer [Fri, 10 Apr 2015 15:20:14 +0000 (11:20 -0400)] 
- Fixed issue where a :class:`.MetaData` object that used a naming
convention would not properly work with pickle.  The attribute was
skipped leading to inconsistencies and failures if the unpickled
:class:`.MetaData` object were used to base additional tables
from.
fixes #3362

(cherry picked from commit 55c26710a1f6d6c6f87a9752035bc160f93b38d0)

10 years ago- add test support for MySQLdb with use_unicode=1 or using mysqlclient on py3k
Mike Bayer [Wed, 8 Apr 2015 21:23:26 +0000 (17:23 -0400)] 
- add test support for MySQLdb with use_unicode=1 or using mysqlclient on py3k

(cherry picked from commit ffec6ab936a73f5cbe63d9409beb12f1f0307d0b)

10 years ago- add some teardown for connections that are held open after tests
Mike Bayer [Wed, 8 Apr 2015 04:10:54 +0000 (00:10 -0400)] 
- add some teardown for connections that are held open after tests
in some cases, interfering with tests that check pool._refs

(cherry picked from commit 44a9820b4e02f65b3884fa2c016efce9663e4910)

10 years ago- make sure this is 1.0.0 backported to 0.9
Mike Bayer [Sat, 4 Apr 2015 23:08:44 +0000 (19:08 -0400)] 
- make sure this is 1.0.0 backported to 0.9

10 years ago- Fixed a long-standing bug where the :class:`.Enum` type as used
Mike Bayer [Sat, 4 Apr 2015 16:02:51 +0000 (12:02 -0400)] 
- Fixed a long-standing bug where the :class:`.Enum` type as used
with the psycopg2 dialect in conjunction with non-ascii values
and ``native_enum=False`` would fail to decode return results properly.
This stemmed from when the PG :class:`.postgresql.ENUM` type used
to be a standalone type without a "non native" option.
fixes #3354
cherry pick from ecd7b31d5eaed138e699293719f70260da3c978d

10 years ago- Fixed bug where the state tracking within multiple, nested
Mike Bayer [Thu, 2 Apr 2015 16:19:15 +0000 (12:19 -0400)] 
- Fixed bug where the state tracking within multiple, nested
:meth:`.Session.begin_nested` operations would fail to propagate
the "dirty" flag for an object that had been updated within
the inner savepoint, such that if the enclosing savepoint were
rolled back, the object would not be part of the state that was
expired and therefore reverted to its database state.
fixes #3352

(cherry picked from commit 359f471a1203cafd5dc99b5b078ba7d788b67cec)

10 years ago- :class:`.Query` doesn't support joins, subselects, or special
Mike Bayer [Wed, 1 Apr 2015 23:29:09 +0000 (19:29 -0400)] 
- :class:`.Query` doesn't support joins, subselects, or special
FROM clauses when using the :meth:`.Query.update` or
:meth:`.Query.delete` methods; instead of silently ignoring these
fields if methods like :meth:`.Query.join` or
:meth:`.Query.select_from` has been called, a warning
is emitted.  In 1.0.0b5 this will raise an error.
Partial cherry pick from 5302bcebb8e18fdad7448ffb60d2a2017eab26c8.
fixes #3349
- don't realy need _no_select_modifiers anymore

10 years agoFix typos
Ernest Walzel [Thu, 26 Mar 2015 18:28:07 +0000 (18:28 +0000)] 
Fix typos
agaisnt -> against
'a Alias' -> 'an Alias'

(cherry picked from commit a518b31f3b131ae8304026109cd826e38c2afc26)

10 years agofdb drivers seem to be no longer available
Mike Bayer [Tue, 24 Mar 2015 23:30:09 +0000 (19:30 -0400)] 
fdb drivers seem to be no longer available

(cherry picked from commit 422fca43f8af1bfba0c2a2d24aa2eca7fc3bd558)

10 years ago- merge recent commits from master which reorganize and
Mike Bayer [Fri, 20 Mar 2015 18:57:28 +0000 (14:57 -0400)] 
- merge recent commits from master which reorganize and
clarify MySQL unicode documentation, bringing it up-to-date
with current DBAPI support

10 years ago- add a note that we aren't really doing zxjdbc right now even though
Mike Bayer [Fri, 20 Mar 2015 19:10:52 +0000 (15:10 -0400)] 
- add a note that we aren't really doing zxjdbc right now even though
these files are present.

(cherry picked from commit ffddfe1b17b5c09dcb6289f807200f7c8279190e)

10 years ago- Fixed unicode support for PyMySQL when using an "executemany"
Mike Bayer [Sun, 22 Mar 2015 23:05:22 +0000 (19:05 -0400)] 
- Fixed unicode support for PyMySQL when using an "executemany"
operation with unicode parameters.  SQLAlchemy now passes both
the statement as well as the bound parameters as unicode
objects, as PyMySQL generally uses string interpolation
internally to produce the final statement, and in the case of
executemany does the "encode" step only on the final statement.
fixes #3337

(cherry picked from commit dcf5408f7d315b4d9ddec5d0d696eb364d763099)

Conflicts:
lib/sqlalchemy/dialects/mysql/pymysql.py

10 years ago- changelog for #3333, fixes #3333
Mike Bayer [Fri, 20 Mar 2015 15:28:47 +0000 (11:28 -0400)] 
- changelog for #3333, fixes #3333

(cherry picked from commit 2feb40d0a48dd424c38a37e70a63a6bcf3c00c02)

10 years agofix Python 2-specific byte conversion
David Marin [Fri, 6 Feb 2015 00:51:57 +0000 (16:51 -0800)] 
fix Python 2-specific byte conversion

(cherry picked from commit 00f37f3984c35fc4a2ee5687e798c5ca36953d6c)

10 years ago- fix typo, fixes #3325
Mike Bayer [Tue, 17 Mar 2015 21:32:16 +0000 (17:32 -0400)] 
- fix typo, fixes #3325

(cherry picked from commit 138293c246fbf8c6693044a89fe788d0d0446113)

10 years ago- remove now-misleading comment that SQLite doesn't support MATCH,
Mike Bayer [Sat, 14 Mar 2015 14:17:12 +0000 (10:17 -0400)] 
- remove now-misleading comment that SQLite doesn't support MATCH,
since they've apparently added something for it

10 years ago- call this 1.0.0b1
Mike Bayer [Fri, 13 Mar 2015 20:25:10 +0000 (16:25 -0400)] 
- call this 1.0.0b1

(cherry picked from commit 64b7a50cbd64b44fa8ee8413213e9eae73483515)

10 years ago- repair forwards-port directives
Mike Bayer [Thu, 12 Mar 2015 20:23:09 +0000 (16:23 -0400)] 
- repair forwards-port directives

10 years ago- Fixed regression from 0.9.9 where the :func:`.as_declarative`
Mike Bayer [Thu, 12 Mar 2015 20:22:08 +0000 (16:22 -0400)] 
- Fixed regression from 0.9.9 where the :func:`.as_declarative`
symbol was removed from the ``sqlalchemy.ext.declarative``
namespace.
fixes #3324

10 years ago- fix quantize recipe, fixes #3322
Mike Bayer [Thu, 12 Mar 2015 15:48:47 +0000 (11:48 -0400)] 
- fix quantize recipe, fixes #3322

(cherry picked from commit e42d8184ac087e12e463f938e6a07759cc6392ca)

10 years ago- try to document how to get columns from constraints.
Mike Bayer [Thu, 12 Mar 2015 14:14:52 +0000 (10:14 -0400)] 
- try to document how to get columns from constraints.
unfortunately Sphinx refuses to work correctly for the columns
attribute so we just add a lame message to contains_column().

(cherry picked from commit f211ad254d53b85aae319b41cc7b206f3e693660)

10 years ago0.9.10 bump
Mike Bayer [Wed, 11 Mar 2015 18:48:17 +0000 (14:48 -0400)] 
0.9.10 bump

10 years ago- Added a new entry ``"entity"`` to the dictionaries returned by
Mike Bayer [Wed, 11 Mar 2015 18:46:52 +0000 (14:46 -0400)] 
- Added a new entry ``"entity"`` to the dictionaries returned by
:attr:`.Query.column_descriptions`.  This refers to the primary ORM
mapped class or aliased class that is referred to by the expression.
Compared to the existing entry for ``"type"``, it will always be
a mapped entity, even if extracted from a column expression, or
None if the given expression is a pure core expression.
references #3320

(cherry picked from commit b815e9483319b93f98bef11c7d47378441f78d21)

10 years ago- feature, not enhancement
Mike Bayer [Tue, 10 Mar 2015 20:16:15 +0000 (16:16 -0400)] 
- feature, not enhancement

10 years ago- 0.9.9 rel_0_9_9
Mike Bayer [Tue, 10 Mar 2015 19:29:33 +0000 (15:29 -0400)] 
- 0.9.9

10 years ago- copyright 2015
Mike Bayer [Tue, 10 Mar 2015 19:27:20 +0000 (15:27 -0400)] 
- copyright 2015

10 years ago- repair doclevel
Mike Bayer [Tue, 10 Mar 2015 19:16:02 +0000 (15:16 -0400)] 
- repair doclevel

10 years ago- changelog and docs for pullreq bitbucket:45
Mike Bayer [Tue, 10 Mar 2015 19:05:27 +0000 (15:05 -0400)] 
- changelog and docs for pullreq bitbucket:45

(cherry picked from commit 5d1206c10a96b6685e57baa9ae09f04f00cf425b)

Conflicts:
lib/sqlalchemy/dialects/postgresql/base.py

10 years agoDialect option `postgresql_concurrently` to `Index` construct.
Iuri de Silvio [Thu, 26 Feb 2015 00:05:31 +0000 (21:05 -0300)] 
Dialect option `postgresql_concurrently` to `Index` construct.

(cherry picked from commit 955576fcf6e7aff7fe924ec3b33bb6d243ddd312)

10 years ago- changelog for pr github:154
Mike Bayer [Tue, 10 Mar 2015 18:54:20 +0000 (14:54 -0400)] 
- changelog for pr github:154

(cherry picked from commit 78874d3679fe45275d44dda40f4f1bae9a0558b7)

10 years agoFix slice addressing of _AssociationList with python3
Gilles Dartiguelongue [Tue, 9 Dec 2014 11:08:12 +0000 (12:08 +0100)] 
Fix slice addressing of _AssociationList with python3

(cherry picked from commit 9fee9cb87e0d13db4426664f5758c1ddad0533e3)

10 years ago- changelog / doc for sqlite partial indexes
Mike Bayer [Tue, 10 Mar 2015 18:18:35 +0000 (14:18 -0400)] 
- changelog / doc for sqlite partial indexes

(cherry picked from commit 6ac0555eaa6363ac9d0ad6566248dd294ad61d9e)

10 years agoTest for partial index support in sqlite dialects.
Kai Groner [Mon, 26 Jan 2015 19:48:23 +0000 (14:48 -0500)] 
Test for partial index support in sqlite dialects.

(cherry picked from commit 4a42bd5a2cba23782df7b6f98cadb7382d22498e)

10 years agoPartial index support with sqlite dialects.
Kai Groner [Mon, 26 Jan 2015 19:49:40 +0000 (14:49 -0500)] 
Partial index support with sqlite dialects.

From https://www.sqlite.org/partialindex.html
> Partial indexes have been supported in SQLite since version 3.8.0.

Reflection does not expose the predicate of partial indexes.  The
postgresql dialect does detect such indexes and issue a warning.  I
looked into matching this level of support, but the sqlite pragma
index_info does not expose the predicate.  Getting this data would
probably require parsing the CREATE INDEX statement from sqlite_master.

(cherry picked from commit 30ce7e93f4068b00ced0db785fdd578dc8a45975)

10 years agominor docstring fix in MappedCollection class
Jochem Oosterveen [Fri, 6 Mar 2015 15:58:30 +0000 (16:58 +0100)] 
minor docstring fix in MappedCollection class

(cherry picked from commit 34cb52e8d9f9bf345904315f16fb87ca9310d9cb)

10 years agoUpdate migration_09.rst
Jason Held [Wed, 25 Feb 2015 17:49:20 +0000 (12:49 -0500)] 
Update migration_09.rst

typo fix: indivdual -> individual.
(cherry picked from commit c5edbc6fdc611d3c812735d83fe056fbb7d113f5)

10 years ago- Fixed bugs in ORM object comparisons where comparison of
Mike Bayer [Fri, 20 Feb 2015 20:14:08 +0000 (15:14 -0500)] 
- Fixed bugs in ORM object comparisons where comparison of
many-to-one ``!= None`` would fail if the source were an aliased
class, or if the query needed to apply special aliasing to the
expression due to aliased joins or polymorphic querying; also fixed
bug in the case where comparing a many-to-one to an object state
would fail if the query needed to apply special aliasing
due to aliased joins or polymorphic querying.
fixes #3310

(cherry picked from commit 305ea84004fe604f461cd3c9438fbc84e3d790b2)