summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | - using AssertsCompiledSQL so need __dialect__Mike Bayer2013-12-171-0/+3
| | |
| * | - rework JSON expressions to be based off __getitem__ exclusivelyMike Bayer2013-12-175-67/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | - add support for "standalone" JSON objects; this involves getting CAST to upgrade the given type of a bound parameter. should add a core-only test for this. - add tests for "standalone" json round trips both with and without unicode - add mechanism by which we remove psycopg2's "json" handler in order to get the effect of using our non-native result handlers
| * | - enhance the exclusions system to support database versions within the ↵Mike Bayer2013-12-172-7/+17
| | | | | | | | | | | | __only_on__ attribute
| * | Merge branch 'issue_2581' of github.com:nathan-rice/sqlalchemy into pg_jsonMike Bayer2013-12-175-2/+338
| |\ \
| | * | sqlalchemy/dialects/postgresql/pgjson:pr/50nathan2013-12-111-7/+14
| | | | | | | | | | | | | | | | - Updated documentation for JSON class
| | * | sqlalchemy/dialects/postgresql/pgjson:nathan2013-12-112-5/+51
| | | | | | | | | | | | | | | | | | | | - Added support for additional operators - Made return as json default (rather than text)
| | * | sqlalchemy/dialects/postgresql/psycopg2:nathan2013-12-101-2/+0
| | | | | | | | | | | | | | | | - Removed unneeded import of psycopg2.extensions
| | * | sqlalchemy/dialects/postgresql/pgjson:nathan2013-12-103-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed reference to HSTORE - Corrected spelling of SQLAlchemy sqlalchemy/dialects/postgresql/psycopg2: - Added psycopg2 specific wrapper type for JSON which uses inherent json deserialization facilities - Added code to detect and utilize the JSON wrapper if psycopg2 >= 2.5 test/dialect/postgresql/test_types: - removed reference to use_native_hstore
| | * | Merge branch 'rel_0_9' of https://github.com/nathan-rice/sqlalchemy into rel_0_9nathan2013-12-098-58/+148
| | |\ \
| | * | | sqlalchemy/dialects/postgresql/__init__.py:nathan2013-12-094-2/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added import references to JSON class sqlalchemy/dialects/postgresql/base.py: - Added visitor method for JSON class sqlalchemy/dialects/postgresql/pgjson (new): - JSON class, supports automatic serialization and deserialization of json data, as well as basic json operators.
* | | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-164-4/+18
|\ \ \ \ \ | |/ / / /
| * | | | - for [ticket:2651], leaving CheckConstraint alone, preferring to keepMike Bayer2013-12-164-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backwards compatibility. A note about backslashing escapes is added. Because the Text() construct now supports bind params better, the example given in the code raises an exception now, so that should cover us. The exception itself has been enhanced to include the key name of the bound param. We're backporting this to 0.8 but 0.8 doesn't have the text->bind behavior that raises.
* | | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-163-9/+98
|\ \ \ \ \ | |/ / / /
| * | | | - An adjustment to the :func:`.subqueryload` strategy which ensures thatMike Bayer2013-12-163-9/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the query runs after the loading process has begun; this is so that the subqueryload takes precedence over other loaders that may be hitting the same attribute due to other eager/noload situations at the wrong time. [ticket:2887]
* | | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-162-18/+110
|\ \ \ \ \ | |/ / / /
| * | | | - fix up the FAQ regarding the "foo_id" issueMike Bayer2013-12-162-18/+110
| | | | | | | | | | | | | | | | | | | | - add session object states to the glossary
* | | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-163-15/+78
|\ \ \ \ \ | |/ / / /
| * | | | - Fixed bug when using joined table inheritance from a table to aMike Bayer2013-12-163-15/+78
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | select/alias on the base, where the PK columns were also not same named; the persistence system would fail to copy primary key values from the base table to the inherited table upon INSERT. [ticket:2885]
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-161-1/+1
|\ \ \ \ | |/ / /
| * | | wrong method nameMike Bayer2013-12-161-1/+1
| | | |
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-153-21/+23
|\ \ \ \ | |/ / /
| * | | - add "force_nocheck" as a way to turn on unicode=force without evenMike Bayer2013-12-153-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | doing the isinstance() check - currently used only by psycopg2 + native enum + py2k. - didn't realize psycopg2 had UNICODEARRAY extension all this time; replace _PGArray with just using UNICODEARRAY instead. - replace unnecessary/inconsistent __import__ in _isolation_lookup.
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-152-6/+14
|\ \ \ \ | |/ / /
| * | | load_on_pending is different from enable_relationship_loading and shouldMike Bayer2013-12-152-6/+14
| | | | | | | | | | | | | | | | not be superseded. both have a potential use.
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-122-2/+2
|\ \ \ \ | |/ / /
| * | | make the error message for [ticket:2889] more accurate, as we supportMike Bayer2013-12-122-2/+2
| | | | | | | | | | | | | | | | composites to many-to-ones now also
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-123-1/+34
|\ \ \ \ | |/ / /
| * | | - :func:`.composite` will raise an informative error message when theMike Bayer2013-12-123-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | columns/attribute (names) passed don't resolve to a Column or mapped attribute (such as an erroneous tuple); previously raised an unbound local. [ticket:2889]
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-123-12/+55
|\ \ \ \ | |/ / /
| * | | - Error message when a string arg sent to :func:`.relationship` whichMike Bayer2013-12-123-12/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't resolve to a class or mapper has been corrected to work the same way as when a non-string arg is received, which indicates the name of the relationship which had the configurational error. [ticket:2888]
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-111-262/+271
|\ \ \ \ | |/ / /
| * | | move things that are 90% behavioral improvements to that section. the list ↵Mike Bayer2013-12-111-262/+271
| | | | | | | | | | | | | | | | | | | | | | | | of things that can definitely people should be more focused.
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-113-5/+18
|\ \ \ \ | |/ / /
| * | | - implement "literal binds" for the text() clause, [ticket:2882]Mike Bayer2013-12-113-5/+18
| | | |
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-113-22/+86
|\ \ \ \ | |/ / /
| * | | - The :class:`.ForeignKey` class more aggressively checks the givenMike Bayer2013-12-113-22/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | column argument. If not a string, it checks that the object is at least a :class:`.ColumnClause`, or an object that resolves to one, and that the ``.table`` attribute, if present, refers to a :class:`.TableClause` or subclass, and not something like an :class:`.Alias`. Otherwise, a :class:`.ArgumentError` is raised. [ticket:2883]
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-113-3/+35
|\ \ \ \ | |/ / /
| * | | - The :class:`.exc.StatementError` or DBAPI-related subclassMike Bayer2013-12-113-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now can accomodate additional information about the "reason" for the exception; the :class:`.Session` now adds some detail to it when the exception occurs within an autoflush. This approach is taken as opposed to combining :class:`.FlushError` with a Python 3 style "chained exception" approach so as to maintain compatibility both with Py2K code as well as code that already catches ``IntegrityError`` or similar.
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-095-4/+86
|\ \ \ \ | |/ / /
| * | | - round trip testMike Bayer2013-12-093-18/+63
| | | | | | | | | | | | | | | | | | | | - changelog - some doc rearrangement
| * | | Merge branch 'tsvector' of ↵Mike Bayer2013-12-094-4/+41
| |\ \ \ | | | | | | | | | | | | | | | https://bitbucket.org/nibrahim/sqlalchemy/branch/tsvector into tsvector
| | * | | Adds test to verify tsvector creation.Noufal Ibrahim2013-12-101-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
| | * | | Adds tsvector to ischema_names for reflection to work.Noufal Ibrahim2013-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
| | * | | Updates documentation for tsvector type.Noufal Ibrahim2013-12-102-2/+29
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
| | * | | Implements TSVECTOR type for postgresql.Noufal Ibrahim2013-12-102-2/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
* | | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-091-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | sqlany dialect moves to githubMike Bayer2013-12-091-1/+1
| |/ / /
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-081-1/+1
|\ \ \ \ | |/ / /
| * | | forgot authors!!Mike Bayer2013-12-081-1/+1
| | | |
* | | | Merge branch 'master' into rel_0_9Mike Bayer2013-12-076-94/+77
|\ \ \ \ | |/ / /