summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* - edits, new breakoutsimprove_tocMike Bayer2014-12-1720-746/+2154
|
* - most of the reorg into many files with section containersMike Bayer2014-12-1638-6947/+7034
|
* updatesMike Bayer2014-12-162-6/+8
|
* - break out FAQ into subpagesMike Bayer2014-12-1611-1530/+1539
|
* - export the whole theme out to zzzeeksphinx. let's see if we can get RTD ↵Mike Bayer2014-12-1619-1998/+3
| | | | to build it.
* - add scss supportMike Bayer2014-12-168-115/+204
| | | | - start modularizing things
* getting warmerMike Bayer2014-12-151-13/+10
|
* some progress, almost thereMike Bayer2014-12-153-32/+109
|
* eh....sphinxMike Bayer2014-12-144-33/+67
|
* - try to get a contextual TOC on the left sideMike Bayer2014-12-146-6/+49
|
* - rework the migration doc sectionsMike Bayer2014-12-142-579/+585
| | | | - small fixes in bulk docs
* - automap isn't new anymoreMike Bayer2014-12-141-1/+1
|
* - rework sqlite FK and unique constraint system to combine both PRAGMAMike Bayer2014-12-133-9/+28
| | | | | | and regexp parsing of SQL in order to form a complete picture of constraints + their names. fixes #3244 fixes #3261 - factor various PRAGMA work to be centralized into one call
* - add tentative 'changelog' documentation on #3244Jon Nelson2014-12-131-0/+9
|
* - Added new method :meth:`.Session.invalidate`, functions similarlyMike Bayer2014-12-121-0/+12
| | | | | | | | | | to :meth:`.Session.close`, except also calls :meth:`.Connection.invalidate` on all connections, guaranteeing that they will not be returned to the connection pool. This is useful in situations e.g. dealing with gevent timeouts when it is not safe to use the connection further, even for rollbacks. references #3258
* Removing unneeded space.pr/153Yuval Langer2014-12-091-1/+1
|
* - A new series of :class:`.Session` methods which provide hooksMike Bayer2014-12-085-18/+169
| | | | | | | | | | directly into the unit of work's facility for emitting INSERT and UPDATE statements has been created. When used correctly, this expert-oriented system can allow ORM-mappings to be used to generate bulk insert and update statements batched into executemany groups, allowing the statements to proceed at speeds that rival direct use of the Core. fixes #3100
* start docs...Mike Bayer2014-12-071-0/+55
|
* Merge branch 'master' into ticket_3100Mike Bayer2014-12-078-3/+428
|\
| * - SQL Server 2012 now recommends VARCHAR(max), NVARCHAR(max),Mike Bayer2014-12-062-0/+21
| | | | | | | | | | | | | | VARBINARY(max) for large text/binary types. The MSSQL dialect will now respect this based on version detection, as well as the new ``deprecate_large_types`` flag. fixes #3039
| * - The SQLite dialect, when using the :class:`.sqlite.DATE`,Mike Bayer2014-12-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | :class:`.sqlite.TIME`, or :class:`.sqlite.DATETIME` types, and given a ``storage_format`` that only renders numbers, will render the types in DDL as ``DATE_CHAR``, ``TIME_CHAR``, and ``DATETIME_CHAR``, so that despite the lack of alpha characters in the values, the column will still deliver the "text affinity". Normally this is not needed, as the textual values within the default storage formats already imply text. fixes #3257
| * - The engine-level error handling and wrapping routines will nowMike Bayer2014-12-052-0/+38
| | | | | | | | | | | | | | | | | | take effect in all engine connection use cases, including when user-custom connect routines are used via the :paramref:`.create_engine.creator` parameter, as well as when the :class:`.Connection` encounters a connection error on revalidation. fixes #3266
| * - New Oracle DDL features for tables, indexes: COMPRESS, BITMAP.Mike Bayer2014-12-042-0/+15
| | | | | | | | | | Patch courtesy Gabor Gombas. fixes #3127
| * - the refactor of the visit_alias() method in Oracle revealedMike Bayer2014-12-041-0/+7
| | | | | | | | that quoting should be applied in %(name)s under with_hint.
| * - Added support for CTEs under Oracle. This includes some tweaksMike Bayer2014-12-043-0/+34
| | | | | | | | | | | | | | to the aliasing syntax, as well as a new CTE feature :meth:`.CTE.suffix_with`, which is useful for adding in special Oracle-specific directives to the CTE. fixes #3220
| * - Updated the "supports_unicode_statements" flag to True for MySQLdbMike Bayer2014-12-041-0/+11
| | | | | | | | | | | | | | | | | | and Pymysql under Python 2. This refers to the SQL statements themselves, not the parameters, and affects issues such as table and column names using non-ASCII characters. These drivers both appear to support Python 2 Unicode objects without issue in modern versions. fixes #3121
| * - The :meth:`.Operators.match` operator is now handled such that theMike Bayer2014-12-043-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | return type is not strictly assumed to be boolean; it now returns a :class:`.Boolean` subclass called :class:`.MatchType`. The type will still produce boolean behavior when used in Python expressions, however the dialect can override its behavior at result time. In the case of MySQL, while the MATCH operator is typically used in a boolean context within an expression, if one actually queries for the value of a match expression, a floating point value is returned; this value is not compatible with SQLAlchemy's C-based boolean processor, so MySQL's result-set behavior now follows that of the :class:`.Float` type. A new operator object ``notmatch_op`` is also added to better allow dialects to define the negation of a match operation. fixes #3263
| * - The :meth:`.PGDialect.has_table` method will now query againstMike Bayer2014-12-042-0/+75
| | | | | | | | | | | | | | | | | | | | | | ``pg_catalog.pg_table_is_visible(c.oid)``, rather than testing for an exact schema match, when the schema name is None; this so that the method will also illustrate that temporary tables are present. Note that this is a behavioral change, as Postgresql allows a non-temporary table to silently overwrite an existing temporary table of the same name, so this changes the behavior of ``checkfirst`` in that unusual scenario. fixes #3264
| * - Fixed bug in :meth:`.Table.tometadata` method where theMike Bayer2014-11-291-0/+10
| | | | | | | | | | | | | | | | :class:`.CheckConstraint` associated with a :class:`.Boolean` or :class:`.Enum` type object would be doubled in the target table. The copy process now tracks the production of this constraint object as local to a type object. fixes #3260
| * - Updated the :ref:`examples_versioned_history` example such thatMike Bayer2014-11-262-0/+15
| | | | | | | | | | | | | | | | | | | | mapped columns are re-mapped to match column names as well as grouping of columns; in particular, this allows columns that are explicitly grouped in a same-column-named joined inheritance scenario to be mapped in the same way in the history mappings, avoiding warnings added in the 0.9 series regarding this pattern and allowing the same view of attribute keys.
| * - changelog, improve docstring/test for #3217. fixes #3217Mike Bayer2014-11-261-0/+9
| |
| * - The behavioral contract of the :attr:`.ForeignKeyConstraint.columns`Mike Bayer2014-11-252-1/+29
| | | | | | | | | | | | | | | | collection has been made consistent; this attribute is now a :class:`.ColumnCollection` like that of all other constraints and is initialized at the point when the constraint is associated with a :class:`.Table`. fixes #3243
| * - The :meth:`.PropComparator.of_type` modifier has beenMike Bayer2014-11-242-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improved in conjunction with loader directives such as :func:`.joinedload` and :func:`.contains_eager` such that if two :meth:`.PropComparator.of_type` modifiers of the same base type/path are encountered, they will be joined together into a single "polymorphic" entity, rather than replacing the entity of type A with the one of type B. E.g. a joinedload of ``A.b.of_type(BSub1)->BSub1.c`` combined with joinedload of ``A.b.of_type(BSub2)->BSub2.c`` will create a single joinedload of ``A.b.of_type((BSub1, BSub2)) -> BSub1.c, BSub2.c``, without the need for the ``with_polymorphic`` to be explicit in the query. fixes #3256
| * - Fixed a bug in the ↵Mike Bayer2014-11-241-0/+9
| | | | | | | | | | | | | | | | examples/generic_assocaitions/discriminator_on_association.py example, where the subclasses of AddressAssociation were not being mapped as "single table inheritance", leading to problems when trying to use the mappings further.
| * - Fixed a leak which would occur in the unsupported and highlyMike Bayer2014-11-131-0/+12
| | | | | | | | | | | | | | | | | | non-recommended use case of replacing a relationship on a fixed mapped class many times, referring to an arbitrarily growing number of target mappers. A warning is emitted when the old relationship is replaced, however if the mapping were already used for querying, the old relationship would still be referenced within some registries. fixes #3251
| * - don't do inline string interpolation when loggingJon Nelson2014-11-111-2/+2
| |
| * - Fixed issue where the columns from a SELECT embedded in anMike Bayer2014-11-111-0/+12
| | | | | | | | | | | | | | | | | | INSERT, either through the values clause or as a "from select", would pollute the column types used in the result set produced by the RETURNING clause when columns from both statements shared the same name, leading to potential errors or mis-adaptation when retrieving the returning rows. fixes #3248
| * - The :attr:`.Column.key` attribute is now used as the source ofMike Bayer2014-11-101-0/+13
| | | | | | | | | | | | | | | | | | | | | | anonymous bound parameter names within expressions, to match the existing use of this value as the key when rendered in an INSERT or UPDATE statement. This allows :attr:`.Column.key` to be used as a "substitute" string to work around a difficult column name that doesn't translate well into a bound parameter name. Note that the paramstyle is configurable on :func:`.create_engine` in any case, and most DBAPIs today support a named and positional style. fixes #3245
* | Merge branch 'master' into ticket_3100Mike Bayer2014-11-0613-227/+1624
|\ \ | |/
| * - edits to the subqueryload ordering mergeMike Bayer2014-11-053-56/+86
| |
| * Merge branch 'subqueryload_order' of ↵Mike Bayer2014-11-053-0/+105
| |\ | | | | | | | | | https://bitbucket.org/univerio/sqlalchemy into pr26
| | * Added documentation about interaction between `subqueryload` and LIMIT/OFFSET.Jack Zhou2014-08-073-0/+105
| | |
| * | - Fixed bug regarding expression mutations which could expressMike Bayer2014-11-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | itself as a "Could not locate column" error when using :class:`.Query` to select from multiple, anonymous column entities when querying against SQLite, as a side effect of the "join rewriting" feature used by the SQLite dialect. fixes #3241
| * | - added new backend for pysqlcipher, as we will probably getMike Bayer2014-10-292-1/+18
| | | | | | | | | | | | requests for it soon.
| * | changelogMike Bayer2014-10-261-0/+9
| | |
| * | typoMike Bayer2014-10-231-1/+1
| | |
| * | move this into behavioral changesMike Bayer2014-10-231-83/+88
| | |
| * | - Fixed bug in single table inheritance where a chain of joinsMike Bayer2014-10-232-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that included the same single inh entity more than once (normally this should raise an error) could, in some cases depending on what was being joined "from", implicitly alias the second case of the single inh entity, producing a query that "worked". But as this implicit aliasing is not intended in the case of single table inheritance, it didn't really "work" fully and was very misleading, since it wouldn't always appear. fixes #3233
| * | - Fixed bug where the ON clause for :meth:`.Query.join`,Mike Bayer2014-10-231-0/+13
| | | | | | | | | | | | | | | | | | | | | and :meth:`.Query.outerjoin` to a single-inheritance subclass using ``of_type()`` would not render the "single table criteria" in the ON clause if the ``from_joinpoint=True`` flag were set. fixes #3232
| * | - changelog for pullreq github:139Mike Bayer2014-10-211-0/+12
| | | | | | | | | | | | | | | - add support for self-referential foreign keys to move over as well when the table name is changed.