summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Compatible with psycopg2.extras.register_jsonpr/155yihuang2014-12-271-1/+8
|
* Compatible with psycopg2.extras.register_hstoreyihuang2014-12-271-0/+10
|
* - ouch, this needs to be in dbapi, not module level!Mike Bayer2014-12-191-7/+8
|
* - make the google deprecation messages more specific, use full URLMike Bayer2014-12-193-4/+24
| | | | | | format - add an extra doc to MySQLdb - changelog
* Merge branch 'update-gaerdbms-docs' of ↵Mike Bayer2014-12-191-0/+12
|\ | | | | | | https://bitbucket.org/rob_b/sqlalchemy into pr39
| * Update gaerdbms to highlight improved connection methodRob Berry2014-12-181-0/+12
| |
* | Maul the evaulate & friends typoPriit Laes2014-12-1913-15/+15
| |
* | - Fixed bug where using a :class:`.TypeDecorator` that implementedMike Bayer2014-12-193-3/+43
| | | | | | | | | | | | | | a type that was also a :class:`.TypeDecorator` would fail with Python's "Cannot create a consistent method resolution order (MRO)" error, when any kind of SQL comparison expression were used against an object using this type.
* | - create a new section on "custom load rules", to help with edgeMike Bayer2014-12-191-0/+76
|/ | | | cases like that of #3277. fixes #3277
* - classical is really not the most important topic hereMike Bayer2014-12-171-1/+1
|
* - squash-merge the improve_toc branch, which moves all the Sphinx stylingMike Bayer2014-12-1779-11663/+10043
| | | | | | and extensions into an external library, and also reorganizes most large documentation pages into many small areas to reduce scrolling and better present the context into a more fine-grained hierarchy.
* - Added a version check to the MySQLdb dialect surrounding theMike Bayer2014-12-162-6/+15
| | | | | check for 'utf8_bin' collation, as this fails on MySQL server < 5.0. fixes #3274
* - 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-135-244/+506
| | | | | | 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
|
* - add test_get_unnamed_unique_constraints to SQLite reflection testsJon Nelson2014-12-131-0/+18
|
* - fix unique constraint parsing for sqlite -- may return '' for name, howeverJon Nelson2014-12-131-1/+1
|
* - Added new method :meth:`.Session.invalidate`, functions similarlyMike Bayer2014-12-124-2/+72
| | | | | | | | | | 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
* - update zoomarkMike Bayer2014-12-121-6/+6
|
* - fix up query update /delete documentation, make warningsMike Bayer2014-12-101-69/+110
| | | | a lot clearer, partial fixes for #3252
* - keep working on fixing #3266, more cases, more testsMike Bayer2014-12-101-4/+5
|
* - rework the handle error on connect tests from test_parsconnect whereMike Bayer2014-12-102-236/+245
| | | | they don't really belong into a new suite in test_execute
* Merge remote-tracking branch 'origin/pr/153'Mike Bayer2014-12-081-1/+1
|\
| * Removing unneeded space.pr/153Yuval Langer2014-12-091-1/+1
| |
* | - identify another spot where _handle_dbapi_error() needs to do somethingMike Bayer2014-12-082-3/+32
|/ | | | | differently for the case where it is called in an already-invalidated state; don't call upon self.connection
* - simplify the "noconnection" error handling, settingMike Bayer2014-12-083-20/+22
| | | | | | | _handle_dbapi_exception_noconnection() to only invoke in the case of raw_connection() in the constructor of Connection. in all other cases the Connection proceeds with _handle_dbapi_exception() including revalidate.
* - autoinc here for oracleMike Bayer2014-12-081-1/+3
|
* - force the _has_events flag to True on engines, so thatMike Bayer2014-12-082-54/+24
| | | | | profiling is more predictable - restore the profiling from before this change
* - some profile changes likely due to the change in event listeningticket_3100Mike Bayer2014-12-082-23/+54
| | | | on engines
* - A new series of :class:`.Session` methods which provide hooksMike Bayer2014-12-088-40/+217
| | | | | | | | | | 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
|
* - add an option for bulk_save -> update to not do historyMike Bayer2014-12-073-14/+58
|
* - fix inheritance persistenceMike Bayer2014-12-074-25/+215
| | | | - start writing docs
* - initial tests for bulkMike Bayer2014-12-072-1/+319
|
* - rework the assert_sql system so that we have a context manager to work with,Mike Bayer2014-12-073-33/+75
| | | | use events that are local to the engine and to the run and are removed afterwards.
* Merge branch 'master' into ticket_3100Mike Bayer2014-12-0774-736/+2828
|\
| * - SQL Server 2012 now recommends VARCHAR(max), NVARCHAR(max),Mike Bayer2014-12-068-24/+201
| | | | | | | | | | | | | | 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
| * - enhance only_on() to work with compound specsMike Bayer2014-12-064-5/+17
| | | | | | | | - fix "temporary_tables" requirement
| * pep8Mike Bayer2014-12-061-106/+141
| |
| * - adjust _revalidate_connection() again such that we pass a _wrap=FalseMike Bayer2014-12-054-24/+33
| | | | | | | | | | | | | | | | | | | | to it, so that we say we will do the wrapping just once right here in _execute_context() / _execute_default(). An adjustment is made to _handle_dbapi_error() to not assume self.__connection in case we are already in an invalidated state further adjustment to 0639c199a547343d62134d2f233225fd2862ec45, 41e7253dee168b8c26c49, #3266
| * - move inner calls to _revalidate_connection() outside of existingMike Bayer2014-12-052-9/+43
| | | | | | | | | | _handle_dbapi_error(); these are now handled already and the reentrant call is not needed / breaks things. Adjustment to 41e7253dee168b8c26c49 /
| * - The SQLite dialect, when using the :class:`.sqlite.DATE`,Mike Bayer2014-12-053-1/+134
| | | | | | | | | | | | | | | | | | | | | | | | :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
| * - pep8Mike Bayer2014-12-051-191/+232
| |
| * - document / work around that dialect_options isn't necessarily thereMike Bayer2014-12-052-1/+6
| |
| * - The engine-level error handling and wrapping routines will nowMike Bayer2014-12-058-19/+243
| | | | | | | | | | | | | | | | | | 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
| * - pep8 cleanupMike Bayer2014-12-051-58/+77
| |
| * - New Oracle DDL features for tables, indexes: COMPRESS, BITMAP.Mike Bayer2014-12-045-11/+272
| | | | | | | | | | Patch courtesy Gabor Gombas. fixes #3127
| * - the refactor of the visit_alias() method in Oracle revealedMike Bayer2014-12-042-1/+8
| | | | | | | | that quoting should be applied in %(name)s under with_hint.
| * - Added support for CTEs under Oracle. This includes some tweaksMike Bayer2014-12-049-61/+247
| | | | | | | | | | | | | | 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