summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* - add full docs for like()/ilike()Mike Bayer2013-01-281-0/+28
|
* add any/all to __all__Mike Bayer2013-01-281-1/+2
|
* - documentation for any()/all()Mike Bayer2013-01-281-12/+64
|
* Add ANY/ALL construct support for PostgreSQL's ARRAY typeAudrius Kažukauskas2013-01-282-1/+63
|
* - use SQL constructs here for databases that need to escape names like "data"Mike Bayer2013-01-271-5/+4
|
* Fixed bug where :meth:`.Table.tometadata` would fail if aMike Bayer2013-01-271-1/+1
| | | | | | :class:`.Column` had both a foreign key as well as an alternate ".key" name for the column. Also in 0.7.10. [ticket:2643]
* Fixing a code block in the PostgreSQL base dialect docstring.Taavi Burns2013-01-251-1/+1
|
* #2629Mike Bayer2013-01-251-0/+5
| | | | | insert().returning() raises an informative CompileError if attempted to compile on a dialect that doesn't support RETURNING.
* the consideration of a pending object asMike Bayer2013-01-243-8/+45
| | | | | | | | | | | an "orphan" has been modified to more closely match the behavior as that of persistent objects, which is that the object is expunged from the :class:`.Session` as soon as it is de-associated from any of its orphan-enabled parents. Previously, the pending object would be expunged only if de-associated from all of its orphan-enabled parents. The new flag ``legacy_is_orphan`` is added to :func:`.orm.mapper` which re-establishes the legacy behavior. [ticket:2655]
* Fixed the (most likely never used) "@collection.link" collectionMike Bayer2013-01-211-10/+13
|\ | | | | | | | | | | | | | | | | method, which fires off each time the collection is associated or de-associated with a mapped object - the decorator was not tested or functional. The decorator method is now named :meth:`.collection.linker` though the name "link" remains for backwards compatibility. Courtesy Luca Wehrstedt. [ticket:2653]
| * Merged in lerks/sqlalchemy (pull request #36)Mike Bayer2013-01-211-9/+9
| |\ | | | | | | | | | Fix the collection.link decorator
| | * Fix the collection.link decoratorLuca Wehrstedt2013-01-161-9/+9
| | |
* | | - Made some fixes to the system of producing custom instrumentedMike Bayer2013-01-211-131/+88
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | collections, mainly that the usage of the @collection decorators will now honor the __mro__ of the given class, applying the logic of the sub-most classes' version of a particular collection method. Previously, it wasn't predictable when subclassing an existing instrumented class such as :class:`.MappedCollection` whether or not custom methods would resolve correctly. [ticket:2654] - The undocumented (and hopefully unused) system of producing custom collections using an ``__instrumentation__`` datastructure associated with the collection has been removed, as this was a complex and untested feature which was also essentially redundant versus the decorator approach. Other internal simplifcations to the orm.collections module have been made as well.
* | - replace mssql_ordering with generalized #695 solutionMike Bayer2013-01-202-16/+61
| | | | | | | | - documentation for mssql index options plus changelog and fixes
* | Merged in dharland/sqlalchemy (pull request #35)Mike Bayer2013-01-201-0/+37
|\ \ | | | | | | | | | Add extra mssql dialect options to Index
| * | Add mssql_include option for mssql dialectDerek Harland2013-01-141-0/+10
| | |
| * | Add mssql_ordering option for mssql dialectDerek Harland2013-01-141-3/+10
| | |
| * | Add mssql_clustered option for mssql dialectDerek Harland2013-01-141-0/+20
| |/
* | Removes an errant space character that caused a newline break in the sphinx ↵Taavi Burns2013-01-171-1/+1
| | | | | | | | output.
* | fix incorrect quoting in mysql indexesMike Bayer2013-01-171-3/+1
| |
* | - fix a format issue in the create indexMike Bayer2013-01-171-1/+1
| |
* | MutableDict.__delitem__ should require only 'key' argumentAudrius Kažukauskas2013-01-171-2/+2
| |
* | :class:`.Index` now supports arbitrary SQL expressions and/orMike Bayer2013-01-167-55/+87
| | | | | | | | | | | | | | | | functions, in addition to straight columns. Common modifiers include using ``somecolumn.desc()`` for a descending index and ``func.lower(somecolumn)`` for a case-insensitive index, depending on the capabilities of the target backend. [ticket:695]
* | - preparing for #695, modernize constraint/index testsMike Bayer2013-01-161-4/+9
|/
* Added a py3K conditional around unnecessary .decode()Mike Bayer2013-01-121-0/+2
| | | | | call in mssql information schema, fixes reflection in Py3K. Also in 0.7.10. [ticket:2638]
* remove all specifics from the "supported features" section as thisMike Bayer2013-01-121-21/+3
| | | | is not maintainable
* - add workaround for sqlite memusage tests, so no longer need to count to ↵Mike Bayer2013-01-121-4/+13
| | | | | | | | | | | | | 220/skip tests - Fixed potential memory leak which could occur if an arbitrary number of :class:`.sessionmaker` objects were created. The anonymous subclass created by the sessionmaker, when dereferenced, would not be garbage collected due to remaining class-level references from the event package. This issue also applies to any custom system that made use of ad-hoc subclasses in conjunction with an event dispatcher. Also in 0.7.10. [ticket:2650]
* - changelog for pullreq 32Mike Bayer2013-01-121-124/+10
| | | | | | | | | | | - Fixed a regression whereby the "collation" parameter of the character types CHAR, NCHAR, etc. stopped working, as "collation" is now supported by the base string types. The TEXT, NCHAR, CHAR, VARCHAR types within the MSSQL dialect are now synonyms for the base types. - move out the type rendering tests into DB-agnostic tests and remove some of the old "create" statements. tests here are still very disorganized.
* Merged in dharland/sqlalchemy (pull request #32: Allow the MSSQL dialect to ↵Mike Bayer2013-01-121-12/+11
|\ | | | | | | support identity columns that are not part of the primary key)
| * MSSQL Dialect should set sequence columns to be non nullDerek Harland2012-12-041-1/+2
| |
| * Merge changes from official sqlalchemy repoDerek Harland2012-12-0413-188/+327
| |\
| * | Allow the MSSQL dialect to support identity columns that are not part of the ↵Derek Harland2012-12-041-11/+9
| | | | | | | | | | | | primary key
* | | :meth:`.Query.merge_result` can now load rows from an outer joinMike Bayer2013-01-081-4/+5
| | | | | | | | | | | | | | | where an entity may be ``None`` without throwing an error. [ticket:2640]
* | | Tweaked the "REQUIRED" symbol used by the compiler to identifyMike Bayer2013-01-081-5/+14
| | | | | | | | | | | | | | | | | | INSERT/UPDATE bound parameters that need to be passed, so that it's more easily identifiable when writing custom bind-handling code. [ticket:2648]
* | | - remove the test against bindparam('x') for the bind/result SQL expressionsMike Bayer2013-01-021-8/+45
| | | | | | | | | | | | - apply a consistent approach to the "see if method X is implemented" conditionals
* | | Fixed bug in :func:`.postgresql.array` construct whereby using itMike Bayer2013-01-021-1/+1
| | | | | | | | | | | | | | | inside of an :func:`.expression.insert` construct would produce an error regarding a parameter issue in the ``self_group()`` method.
* | | happy new year (see #2645)Diana Clarke2013-01-015-5/+5
| | |
* | | happy new year (see #2645)Diana Clarke2013-01-013-3/+3
| | |
* | | happy new year (see #2645)Diana Clarke2013-01-01120-120/+120
| | |
* | | Fixes grammar in docstring.Taavi Burns2012-12-311-1/+1
| | |
* | | Extended the :doc:`/core/inspection` system so that all Python descriptorsMike Bayer2012-12-296-9/+191
| | | | | | | | | | | | | | | | | | | | | | | | associated with the ORM or its extensions can be retrieved. This fulfills the common request of being able to inspect all :class:`.QueryableAttribute` descriptors in addition to extension types such as :class:`.hybrid_property` and :class:`.AssociationProxy`. See :attr:`.Mapper.all_orm_descriptors`.
* | | Fixes issue where GAE error handling can cause AttributeError: 'NoneType' ↵Owen Nelson2012-12-281-1/+3
| | | | | | | | | | | | object has no attribute 'group'
* | | GAE dialect now supports the use of credentialsOwen Nelson2012-12-281-1/+3
| | |
* | | - add tests to ensure SELECT of dynamic collection not emittedMike Bayer2012-12-222-1/+3
| | | | | | | | | | | | | | | | | | on regular append/remove history - fix the real cause of the original #2637 issue, backrefs call upon the "pop()" method now which wasn't implemented for Dynamic
* | | - revert the full iteration of the collection for a passive history event; ↵Mike Bayer2012-12-221-5/+11
| | | | | | | | | | | | | | | | | | | | | that's the wrong behavior, and for the original #2637 issue we will have to fix the association proxy, which is #2642
* | | - significantly rework the approach to collection events and history within ↵Mike Bayer2012-12-212-63/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DynamicAttributeImpl - Fixes to the "dynamic" loader on :func:`.relationship`, includes that backrefs will work properly even when autoflush is disabled, history events are more accurate in scenarios where multiple add/remove of the same object occurs, as can often be the case in conjunction with the association proxy. [ticket:2637]
* | | - cleanup on these testsMike Bayer2012-12-211-0/+6
| | | | | | | | | | | | - add "extend()" to AppenderQuery
* | | this comment is entirely from some ancient version of the codeMike Bayer2012-12-141-2/+0
| | |
* | | More adjustment to this SQLite related issue which was released inMike Bayer2012-12-141-28/+39
| | | | | | | | | | | | | | | | | | | | | 0.7.9, to intercept legacy SQLite quoting characters when reflecting foreign keys. In addition to intercepting double quotes, other quoting characters such as brackets, backticks, and single quotes are now also intercepted. [ticket:2568]
* | | The :meth:`.Query.select_from` method can now be used with aMike Bayer2012-12-131-18/+18
| | | | | | | | | | | | | | | :func:`.aliased` construct without it interfering with the entities being selected. [ticket:2635]