summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - make sure we maintain the has_mapper_entities flagticket_3499Mike Bayer2015-08-172-0/+37
|
* - updatesMike Bayer2015-08-153-26/+55
|
* Merge branch 'master' into ticket_3499Mike Bayer2015-08-1520-589/+1246
|\
| * - correct this, need bracketsMike Bayer2015-08-151-1/+1
| |
| * - make these failure cases more specific to catch Oracle.Mike Bayer2015-08-154-9/+43
| | | | | | | | Would be nice to fix Oracle here
| * - add tests for InstanceEvents.init, InstanceEvents.init_failureMike Bayer2015-08-143-5/+105
| | | | | | | | | | | | | | - 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.
| * Tell Wheel to generate platform and interpreter specific wheelspr/194Donald Stufft2015-08-131-1/+16
| | | | | | | | | | | | | | By telling wheel that we have extension modules, even though we have none, wheel will create a Wheel which is platform and interpreter specific. This will ensure that the pure Python wheels on PyPy do not trigger installs on CPython without the C speedups.
| * - we can again use setuptools.find_packages since we require setuptoolsMike Bayer2015-08-131-25/+13
| | | | | | | | - clean up other things we aren't using anymore
| * - The behavior of the :func:`.union` construct and related constructsMike Bayer2015-08-128-7/+312
| | | | | | | | | | | | | | | | | | such as :meth:`.Query.union` now handle the case where the embedded SELECT statements need to be parenthesized due to the fact that they include LIMIT, OFFSET and/or ORDER BY. These queries **do not work on SQLite**, and will fail on that backend as they did before, but should now work on all other backends. fixes #2528
| * - Fixed 1.0 regression where the "noload" loader strategy would failMike Bayer2015-08-115-7/+39
| | | | | | | | | | | | | | | | | | to function for a many-to-one relationship. The loader used an API to place "None" into the dictionary which no longer actually writes a value; this is a side effect of :ticket:`3061`. - remove InstanceState._initialize() totally, it's used nowhere else and no longer does what it says it does - fill in fowards-port version ids throughout the changes for 1.0.9
| * - pep8 test/orm/test_mapperMike Bayer2015-08-111-536/+698
| |
| * - Fixed two issues regarding Sybase reflection, allowing tablesMike Bayer2015-08-102-6/+20
| | | | | | | | | | | | | | | | | | without primary keys to be reflected as well as ensured that a SQL statement involved in foreign key detection is pre-fetched up front to avoid driver issues upon nested queries. Fixes here courtesy Eugene Zapolsky; note that we cannot currently test Sybase to locally verify these changes. fixes #3508 fixes #3509
| * Merge pull request #192 from halfcrazy/patch-1mike bayer2015-08-091-1/+1
| |\ | | | | | | fix typo int->into
| | * fix typo int->intopr/192halfcrazy2015-08-091-1/+1
| |/
| * Merge pull request #191 from leorochael/leorochael-remove_dead_variablemike bayer2015-08-061-3/+0
| |\ | | | | | | Remove useless code
| | * Remove useless codepr/191Leonardo Rochael Almeida2015-08-061-3/+0
| |/ | | | | `to_unicode` variable was created but was not used.
| * - add a note clarifying query.with_labels(), fixes #3506Mike Bayer2015-08-031-0/+10
| |
* | - add tests for array both in PG as well as generic Indexable;Mike Bayer2015-08-113-30/+179
| | | | | | | | add compilation tests for all PG ARRAY operators
* | - add tests for hashable flag, references #3499Mike Bayer2015-08-111-5/+73
| |
* | - with pg JSON types, indexed/keyed access *always* returns json/jsonb;Mike Bayer2015-08-105-258/+49
| | | | | | | | | | | | | | | | | | e.g. it never is automatically cast to the type of element in the structure. therefore we really don't need the concept of index_map, it's overkill. Replace it with a simple callback in Indexable where each type does its own setup_getitem(), and we're done. Add a convenience "index_type" attribute to HSTORE and an "astext_type" attribute to JSON/JSONB..
* | - more or less completes hstore, json, array, adds basic tests forMike Bayer2015-08-105-265/+399
| | | | | | | | | | | | | | index_map. needs generic tests plus migration documentation. - in particular, the implicit "astext" within cast() is removed. PG has a built-in cast from json->jsonb and vice versa so we should stick with requiring explicit if they want astext.cast().
* | - most of the index model working, no tests yetMike Bayer2015-08-104-65/+252
| | | | | | | | - ARRAY restored, most of JSON, not JSONB yet
* | devMike Bayer2015-08-104-118/+114
| |
* | - add a full suite for IndexableMike Bayer2015-08-091-2/+155
| |
* | - begin moving general handling of __getitem__ and slice objectsMike Bayer2015-08-096-35/+59
| | | | | | | | | | | | | | | | | | | | into core expression. we need to make a sql.elements.Slice object, which isn't a SQL standard thing; however there's no other place to put this as long as we want slice handling to have some meaning in Core. Basically any other backend that ever wants to use the [] operator, I don't want to re-implement everything for PG on that backend as well. this will need to have backend-agnostic tests in tests/sql/test_operator.py.
* | - put ARRAY and related into their own module, easierMike Bayer2015-08-097-428/+445
| | | | | | | | to manage re: hstore/json
* | devMike Bayer2015-07-312-2/+2
| |
* | - start refactoring the workings of index operatorsMike Bayer2015-07-314-30/+72
| |
* | - wip...Mike Bayer2015-07-317-21/+114
|/
* - Fixed issue where the SQL Server dialect would reflect a string-Mike Bayer2015-07-304-5/+83
| | | | | | | | | | | | or other variable-length column type with unbounded length by assigning the token ``"max"`` to the length attribute of the string. While using the ``"max"`` token explicitly is supported by the SQL Server dialect, it isn't part of the normal contract of the base string types, and instead the length should just be left as None. The dialect now assigns the length to None on reflection of the type so that the type behaves normally in other contexts. fixes #3504
* - Fixed support for cx_Oracle version 5.2, which was trippingMike Bayer2015-07-292-2/+16
| | | | | | | | 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
* - fix typo in suffix_with() docs, fixes #3502Mike Bayer2015-07-291-1/+1
|
* - work to bridge between core/ORM tutorials regarding the text() constructMike Bayer2015-07-262-8/+31
|
* - remove "completely raw", whatever that isMike Bayer2015-07-261-21/+16
|
* - typoMike Bayer2015-07-261-1/+1
|
* - add an example of text.columnsMike Bayer2015-07-261-4/+19
| | | | - correct the scalar() example output
* - remove "distutils-only" mode, use setuptools onlyMike Bayer2015-07-244-109/+109
| | | | | | - add first-class "pytest" runner to setup.py, fixes #3489 - remove references to setuptools Feature and mark that "--without-cextensions" is removed, fixes #3500
* - Organize the tree for 1.1Mike Bayer2015-07-249-15/+107
|
* - An adjustment to the new Postgresql feature of reflecting storageMike Bayer2015-07-244-2/+20
| | | | | | | | | options and USING of :ticket:`3455` released in 1.0.6, to disable the feature for Postgresql versions < 8.2 where the ``reloptions`` column is not provided; this allows Amazon Redshift to again work as it is based on an 8.0.x version of Postgresql. Fix courtesy Pete Hollobon. references #3455
* 1.0.8rel_1_0_8Mike Bayer2015-07-222-2/+3
|
* - categorize this correctlyMike Bayer2015-07-221-1/+1
|
* - Fixed critical issue whereby the pool "checkout" event handlerMike Bayer2015-07-223-1/+117
| | | | | | | | | | | | 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
* 0.9.10 release dateMike Bayer2015-07-221-0/+1
| | | | (cherry picked from commit e71cf56a835842cd7d7038d6527888cc1297005f)
* - Fixed bug in SQLite dialect where reflection of UNIQUE constraintsMike Bayer2015-07-213-1/+18
| | | | | | that included non-alphabetic characters in the names, like dots or spaces, would not be reflected with their name. fixes #3495
* - Fixed an issue where a particular base class within utilsMike Bayer2015-07-207-11/+57
| | | | | | | | | didn't implement ``__slots__``, and therefore meant all subclasses of that class didn't either, negating the rationale for ``__slots__`` to be in use. Didn't cause any issue except on IronPython which apparently does not implement ``__slots__`` behavior compatibly with cPython. Fixes #3494
* 1.0.7rel_1_0_7Mike Bayer2015-07-202-2/+3
|
* - changelog for #3459, fixes #3459Mike Bayer2015-07-194-8/+15
| | | | | - test for .cast() method has no good place now except for test_cast in test_compiler.py
* Merge branch 'bb_issue_3459' of https://bitbucket.org/xflr6/sqlalchemy into pr56Mike Bayer2015-07-192-0/+14
|\
| * add ClauseElement.cast() shortcut-methodSebastian Bank2015-06-192-0/+14
| |
* | - Fixed regression where new methods on :class:`.ResultProxy` usedMike Bayer2015-07-193-4/+33
| | | | | | | | | | | | | | | | | | by the ORM :class:`.Query` object (part of the performance enhancements of :ticket:`3175`) would not raise the "this result does not return rows" exception in the case where the driver (typically MySQL) fails to generate cursor.description correctly; an AttributeError against NoneType would be raised instead. fixes #3481