Commit Graph

9626 Commits

Author SHA1 Message Date
Mike Bayer 87a1af4efe - fix some RST whitespace syntactical issues in toctrees
- have the topmost toctree only include page names
- add glossary to toctree, remove search by itself
2014-12-29 20:01:21 -05:00
Mike Bayer 3a620a304e - see if we can get RTD to use this for now 2014-12-28 17:11:36 -05:00
Mike Bayer 1cb24b3742 bump 2014-12-28 11:06:47 -05:00
Mike Bayer 60368fdd9f bump 2014-12-28 10:43:39 -05:00
Mike Bayer 0bd632804e - fix links for loading, add a redirect page
bump

foo
2014-12-27 19:52:44 -05:00
Mike Bayer d11c7a197e - another bump 2014-12-27 17:56:40 -05:00
Mike Bayer 31e2fe75d9 - remove private superclasses from docs in favor of fixing
zzzeeksphinx to omit these from warning

Conflicts:
	doc/build/orm/internals.rst
2014-12-27 17:46:55 -05:00
Mike Bayer 3ccae26789 remove pipe... 2014-12-27 17:17:05 -05:00
Mike Bayer 5343d24fee corrections 2014-12-27 16:54:32 -05:00
Mike Bayer 544e72bcb6 - corrections
- attempt to add a script to semi-automate the fixing of links
2014-12-27 16:22:41 -05:00
Mike Bayer ef6dc0cf2e - typo fixes #3269 2014-12-27 12:47:57 -05:00
Mike Bayer 5659ecb2e8 - ouch, this needs to be in dbapi, not module level! 2014-12-19 18:20:11 -05:00
Mike Bayer 182553b740 - make the google deprecation messages more specific, use full URL
format
- add an extra doc to MySQLdb
- changelog
2014-12-19 14:15:56 -05:00
Mike Bayer 4da5c7423d Merge branch 'update-gaerdbms-docs' of https://bitbucket.org/rob_b/sqlalchemy into pr39 2014-12-19 14:12:19 -05:00
Priit Laes 8ae47dc6e0 Maul the evaulate & friends typo 2014-12-19 19:32:27 +02:00
Mike Bayer d1ac6cb33a - Fixed bug where using a :class:.TypeDecorator that implemented
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.
2014-12-19 12:14:52 -05:00
Mike Bayer b92589e3a0 - create a new section on "custom load rules", to help with edge
cases like that of #3277.  fixes #3277
2014-12-19 11:55:10 -05:00
Rob Berry 0d15791a6e Update gaerdbms to highlight improved connection method 2014-12-18 13:17:11 +00:00
Mike Bayer 023067a0b7 - classical is really not the most important topic here 2014-12-17 19:20:06 -05:00
Mike Bayer 9561321d03 - squash-merge the improve_toc branch, which moves all the Sphinx styling
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.
2014-12-17 17:24:23 -05:00
Mike Bayer 00aaaa4bd4 - Added a version check to the MySQLdb dialect surrounding the
check for 'utf8_bin' collation, as this fails on MySQL server < 5.0.
fixes #3274
2014-12-16 17:02:48 -05:00
Mike Bayer d5f88ee9e5 - rework the migration doc sections
- small fixes in bulk docs
2014-12-14 17:10:44 -05:00
Mike Bayer 7cd4362924 - automap isn't new anymore 2014-12-14 16:21:40 -05:00
Mike Bayer 468db416db - rework sqlite FK and unique constraint system to combine both PRAGMA
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
2014-12-13 19:24:56 -05:00
Jon Nelson 5b146e1bab - add tentative 'changelog' documentation on #3244 2014-12-13 18:34:51 -05:00
Jon Nelson 85c04dd0bb - add test_get_unnamed_unique_constraints to SQLite reflection tests 2014-12-13 18:34:50 -05:00
Jon Nelson 91af733787 - fix unique constraint parsing for sqlite -- may return '' for name, however 2014-12-13 18:34:50 -05:00
Mike Bayer cf7981f60d - Added new method :meth:.Session.invalidate, functions similarly
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
2014-12-12 19:59:11 -05:00
Mike Bayer 08e02579e0 - update zoomark 2014-12-12 15:55:34 -05:00
Mike Bayer 3c70f60950 - fix up query update /delete documentation, make warnings
a lot clearer, partial fixes for #3252
2014-12-10 13:08:53 -05:00
Mike Bayer 347db81aea - keep working on fixing #3266, more cases, more tests 2014-12-10 12:15:14 -05:00
Mike Bayer eee617e08e - rework the handle error on connect tests from test_parsconnect where
they don't really belong into a new suite in test_execute
2014-12-10 12:11:59 -05:00
Mike Bayer 295092db54 Merge remote-tracking branch 'origin/pr/153' 2014-12-08 22:59:54 -05:00
Yuval Langer c86c593ec3 Removing unneeded space. 2014-12-09 04:19:18 +02:00
Mike Bayer 06738f665e - identify another spot where _handle_dbapi_error() needs to do something
differently for the case where it is called in an already-invalidated state;
don't call upon self.connection
2014-12-08 15:15:02 -05:00
Mike Bayer b7cf11b163 - simplify the "noconnection" error handling, setting
_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.
2014-12-08 14:05:20 -05:00
Mike Bayer 8553c195c2 - autoinc here for oracle 2014-12-08 12:34:40 -05:00
Mike Bayer 6b9f62df10 - force the _has_events flag to True on engines, so that
profiling is more predictable
- restore the profiling from before this change
2014-12-08 11:18:38 -05:00
Mike Bayer 902c8d480b - some profile changes likely due to the change in event listening
on engines
2014-12-08 01:22:37 -05:00
Mike Bayer 3f1477e2ec - A new series of :class:.Session methods which provide hooks
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
2014-12-08 01:10:30 -05:00
Mike Bayer 5ed7a9672a start docs... 2014-12-07 21:08:14 -05:00
Mike Bayer 07cc9e054a - add an option for bulk_save -> update to not do history 2014-12-07 20:36:01 -05:00
Mike Bayer c42b8f8eb8 - fix inheritance persistence
- start writing docs
2014-12-07 20:21:20 -05:00
Mike Bayer e257ca6c52 - initial tests for bulk 2014-12-07 19:08:16 -05:00
Mike Bayer 60e6ac8856 - rework the assert_sql system so that we have a context manager to work with,
use events that are local to the engine and to the run and are removed afterwards.
2014-12-07 18:54:52 -05:00
Mike Bayer 1b260c7959 Merge branch 'master' into ticket_3100 2014-12-07 17:48:32 -05:00
Mike Bayer c8817e6087 - SQL Server 2012 now recommends VARCHAR(max), NVARCHAR(max),
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
2014-12-06 13:43:39 -05:00
Mike Bayer c24423bc2e - enhance only_on() to work with compound specs
- fix "temporary_tables" requirement
2014-12-06 13:33:57 -05:00
Mike Bayer 95cd2003bb pep8 2014-12-06 12:39:18 -05:00
Mike Bayer b8114a3576 - adjust _revalidate_connection() again such that we pass a _wrap=False
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
0639c199a5, 41e7253dee, #3266
2014-12-05 19:08:47 -05:00