summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | - implement "literal binds" for the text() clause, [ticket:2882]Mike Bayer2013-12-113-5/+18
| | |
* | | - 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]
* | | - 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.
* | | - 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>
* | | | sqlany dialect moves to githubMike Bayer2013-12-091-1/+1
|/ / /
* | | forgot authors!!Mike Bayer2013-12-081-1/+1
| | |
* | | - The :func:`.engine_from_config` function has been improved so thatMike Bayer2013-12-076-94/+77
| | | | | | | | | | | | | | | | | | | | | | | | we will be able to parse dialect-specific arguments from string configuration dictionaries. Dialect classes can now provide their own list of parameter types and string-conversion routines. The feature is not yet used by the built-in dialects, however. [ticket:2875]
* | | - documentation cleanup in ORM including [ticket:2816]Mike Bayer2013-12-073-43/+88
| | |
* | | specify run as module hereMike Bayer2013-12-071-5/+6
| | |
* | | - remove verbiage about "namespaces" from the dogpile example, [ticket:2862]Mike Bayer2013-12-073-12/+15
| | | | | | | | | | | | - fix broken py2k/py3k isms
* | | - A DBAPI that raises an error on ``connect()`` which is not a subclassMike Bayer2013-12-074-16/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of dbapi.Error (such as ``TypeError``, ``NotImplementedError``, etc.) will propagate the exception unchanged. Previously, the error handling specific to the ``connect()`` routine would both inappropriately run the exception through the dialect's :meth:`.Dialect.is_disconnect` routine as well as wrap it in a :class:`sqlalchemy.exc.DBAPIError`. It is now propagated unchanged in the same way as occurs within the execute process. [ticket:2881] - add tests for this in test_parseconnect, but also add tests in test_execute to ensure the execute() behavior as well
* | | - restore having the connection closed before decrementing the overflow counterMike Bayer2013-12-061-2/+4
| | |
* | | - The :class:`.QueuePool` has been enhanced to not block new connectionMike Bayer2013-12-063-31/+126
| | | | | | | | | | | | | | | | | | | | | | | | attempts when an existing connection attempt is blocking. Previously, the production of new connections was serialized within the block that monitored overflow; the overflow counter is now altered within it's own critical section outside of the connection process itself. [ticket:2880]
* | | - Made a slight adjustment to the logic which waits for a pooledMike Bayer2013-12-063-8/+36
| |/ |/| | | | | | | | | | | | | | | | | | | connection to be available, such that for a connection pool with no timeout specified, it will every half a second break out of the wait to check for the so-called "abort" flag, which allows the waiter to break out in case the whole connection pool was dumped; normally the waiter should break out due to a notify_all() but it's possible this notify_all() is missed in very slim cases. This is an extension of logic first introduced in 0.8.0, and the issue has only been observed occasionally in stress tests.
* | - The precedence rules for the :meth:`.ColumnOperators.collate` operatorMike Bayer2013-12-055-53/+123
| | | | | | | | | | | | | | | | | | | | | | have been modified, such that the COLLATE operator is now of lower precedence than the comparison operators. This has the effect that a COLLATE applied to a comparison will not render parenthesis around the comparison, which is not parsed by backends such as MSSQL. The change is backwards incompatible for those setups that were working around the issue by applying :meth:`.Operators.collate` to an individual element of the comparison expression, rather than the comparison expression as a whole. [ticket:2879]
* | - changelog + test for pullreq #7, MSSQL dialect for DROP INDEXMike Bayer2013-12-052-0/+22
| |
* | Merged in dharland/sqlalchemy/patch-mssql-drop-index (pull request #7) Mike Bayer2013-12-051-5/+3
|\ \ | |/ |/| Fix MSSQL dialects visit_drop_index to use the correct DDL
| * Fix MSSQL dialects visit_drop_index to use the correct DDLdonkopotamus2013-12-051-5/+3
| |
* | - add a new example section for "join conditions", start puttingMike Bayer2013-12-054-0/+217
| | | | | | | | the primaryjoin examples there
* | fix underlineMike Bayer2013-12-051-1/+1
|/
* - reflection of unique constraints backported to 0.8.4 [ticket:1443]Mike Bayer2013-12-033-9/+10
|
* - The :class:`.DeferredReflection` class has been enhanced to provideMike Bayer2013-12-034-67/+170
| | | | | | | | | | | | | | | | automatic reflection support for the "secondary" table referred to by a :func:`.relationship`. "secondary", when specified either as a string table name, or as a :class:`.Table` object with only a name and :class:`.MetaData` object will also be included in the reflection process when :meth:`.DeferredReflection.prepare` is called. [ticket:2865] - clsregistry._resolver() now uses a stateful _class_resolver() class in order to handle the work of mapping strings to objects. This is to provide for simpler extensibility, namely a ._resolvers collection of ad-hoc name resolution functions; the DeferredReflection class adds its own resolver here in order to handle relationship(secondary) names which generate new Table objects.
* - Added ORA-02396 "maximum idle time" error code to list ofMike Bayer2013-12-032-1/+10
| | | | "is disconnect" codes with cx_oracle. [ticket:2864]
* - Added new argument ``include_backrefs=True`` to theMike Bayer2013-12-028-146/+428
| | | | | | | :func:`.validates` function; when set to False, a validation event will not be triggered if the event was initated as a backref to an attribute operation from the other side. [ticket:1535] - break out validation tests into an updated module test_validators
* - the pronoun removal commit. there was only one instance of aMike Bayer2013-11-307-20/+23
| | | | | | | | standalone gendered pronoun with a gender-neutral subject, but also have replaced all occurences of "his/her", "his or her", etc. The docs have always strived to account for both genders in any non-specific singular pronoun, however recent controversy in the community suggests that a zero-gendered-pronoun policy is probably best going forward.
* remove whitespaceMike Bayer2013-11-301-272/+272
|
* make sure thread.join() is used completely hereMike Bayer2013-11-301-4/+8
|
* .toxMike Bayer2013-11-301-0/+1
|
* Merge pull request #49 from msabramo/add_note_to_README_unittests_about_toxmike bayer2013-11-301-0/+39
|\ | | | | README.unittests.rst: Add blurb about tox
| * README.unittests.rst: Add blurb about toxpr/49Marc Abramowitz2013-11-251-0/+39
| |
* | - changelogMike Bayer2013-11-302-7/+16
| | | | | | | | - put list.clear() instrumentation under "if not py2k"
* | Merge branch 'orm-collections-list-clear' of ↵Mike Bayer2013-11-302-0/+18
|\ \ | | | | | | | | | github.com:schettino72/sqlalchemy into list_clear
| * | orm.collection, list.clear(). remove 'before_delete()', added unit-test.pr/40schettino722013-11-252-1/+10
| | |
| * | Add support for python3.3 list.clear() on orm.collectionsschettino722013-11-061-0/+9
| | |
* | | not new anymore...Mike Bayer2013-11-301-6/+0
| | |
* | | - move additional enum compilation tests to postgresql/test_compiler.pyMike Bayer2013-11-302-26/+26
| | |
* | | - selected documentation issuesMike Bayer2013-11-303-93/+550
| | | | | | | | | | | | - add glossary terms
* | | - re-document synonyms and remove warnings about "superseded"; synonymsMike Bayer2013-11-302-39/+130
| | | | | | | | | | | | | | | are still useful, just include notes that for more complex descriptor operations, hybrids are probably preferable
* | | - Fixed bug where values within an ENUM weren't escaped for singleMike Bayer2013-11-304-1/+49
| | | | | | | | | | | | | | | quote signs. Note that this is backwards-incompatible for existing workarounds that manually escape the single quotes. [ticket:2878]
* | | forgot to add this, oopsieMike Bayer2013-11-303-0/+396
| | |
* | | simplify thisMike Bayer2013-11-301-20/+2
| | |
* | | convert to a list here for py3kMike Bayer2013-11-291-1/+1
| | |
* | | - add support for bindparam() called from AsFromTextMike Bayer2013-11-293-13/+32
| | | | | | | | | | | | | | | - get PG dialect to work around "no nonexistent binds" rule for now, though we might want to reconsider this behavior
* | | - start reworking examples to include more code from the wiki.Mike Bayer2013-11-296-300/+224
| | | | | | | | | | | | | | | - add the other versioning examples from the wiki - modernize the dictlike examples
* | | remove thisMike Bayer2013-11-291-11/+0
| | |