]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
10 years ago- remove the clever approach w/ dialect events, and remove the need
Mike Bayer [Sun, 25 Jan 2015 23:22:00 +0000 (18:22 -0500)] 
- remove the clever approach w/ dialect events, and remove the need
for a for-loop through an empty tuple.   we add one more local flag
to handle the logic without repetition of dialect.do_execute()
calls.

10 years ago- remove context-specific post-crud logic from Connection and inline post-crud
Mike Bayer [Sun, 25 Jan 2015 22:53:41 +0000 (17:53 -0500)] 
- remove context-specific post-crud logic from Connection and inline post-crud
logic to some degree in DefaultExecutionContext.  In particular
we are removing post_insert() which doesn't appear to be used
based on a survey of prominent third party dialects.  Callcounts
aren't added to existing execute profiling tests and inserts might be
a little better.
- simplify the execution_options join in DEC.  Callcounts don't
appear affected.

10 years ago- Added new user-space accessors for viewing transaction isolation
Mike Bayer [Tue, 20 Jan 2015 16:37:13 +0000 (11:37 -0500)] 
- Added new user-space accessors for viewing transaction isolation
levels; :meth:`.Connection.get_isolation_level`,
:attr:`.Connection.default_isolation_level`.
- enhance documentation inter-linkage between new accessors,
existing isolation_level parameters, as well as in
the dialect-level methods which should be fully covered
by Engine/Connection level APIs now.

10 years ago- enhance detail here regarding the difference between
Mike Bayer [Tue, 20 Jan 2015 16:36:14 +0000 (11:36 -0500)] 
- enhance detail here regarding the difference between
Connection.connection and engine.raw_connection()

10 years agoformatting
Mike Bayer [Tue, 20 Jan 2015 16:03:02 +0000 (11:03 -0500)] 
formatting

10 years ago- restore r611883ffb35ca6664649f6328ae8 with additional fixes and an additional test
Mike Bayer [Mon, 19 Jan 2015 23:31:10 +0000 (18:31 -0500)] 
- restore r611883ffb35ca6664649f6328ae8 with additional fixes and an additional test
that is much more specific to #1326

10 years ago- reverse the last commit temporarily as it breaks all the polymorphic cases
Mike Bayer [Mon, 19 Jan 2015 23:00:21 +0000 (18:00 -0500)] 
- reverse the last commit temporarily as it breaks all the polymorphic cases

10 years ago- The primary :class:`.Mapper` of a :class:`.Query` is now passed to the
Mike Bayer [Mon, 19 Jan 2015 22:55:23 +0000 (17:55 -0500)] 
- The primary :class:`.Mapper` of a :class:`.Query` is now passed to the
:meth:`.Session.get_bind` method when calling upon
:meth:`.Query.count`, :meth:`.Query.update`, :meth:`.Query.delete`,
as well as queries against mapped columns,
:obj:`.column_property` objects, and SQL functions and expressions
derived from mapped columns.   This allows sessions that rely upon
either customized :meth:`.Session.get_bind` schemes or "bound" metadata
to work in all relevant cases.
fixes #3227 fixes #3242 fixes #1326

10 years ago- tests
Mike Bayer [Mon, 19 Jan 2015 22:29:48 +0000 (17:29 -0500)] 
- tests

10 years ago- further fixes and even better tests for this block
Mike Bayer [Mon, 19 Jan 2015 16:47:28 +0000 (11:47 -0500)] 
- further fixes and even better tests for this block

10 years ago- another adjustment
Mike Bayer [Mon, 19 Jan 2015 13:49:44 +0000 (08:49 -0500)] 
- another adjustment

10 years ago- fix another issue from rf49c367ef, add another test
Mike Bayer [Mon, 19 Jan 2015 04:32:52 +0000 (23:32 -0500)] 
- fix another issue from rf49c367ef, add another test

10 years ago- rework assertsql system, fixes #3293
Mike Bayer [Mon, 19 Jan 2015 01:57:26 +0000 (20:57 -0500)] 
- rework assertsql system, fixes #3293

10 years ago- fix a regression from ref #3178, where dialects that don't actually support
Mike Bayer [Sun, 18 Jan 2015 02:36:52 +0000 (21:36 -0500)] 
- fix a regression from ref #3178, where dialects that don't actually support
sane multi rowcount (e.g. pyodbc) would fail on multirow update.  add
a test that mocks this breakage into plain dialects

10 years ago- add an exclusion here that helps with the case of 3rd party
Mike Bayer [Sat, 17 Jan 2015 17:46:20 +0000 (12:46 -0500)] 
- add an exclusion here that helps with the case of 3rd party
test suite redefining an existing test in test_suite

10 years ago- Custom dialects that implement :class:`.GenericTypeCompiler` can
Mike Bayer [Sat, 17 Jan 2015 01:03:33 +0000 (20:03 -0500)] 
- Custom dialects that implement :class:`.GenericTypeCompiler` can
now be constructed such that the visit methods receive an indication
of the owning expression object, if any.  Any visit method that
accepts keyword arguments (e.g. ``**kw``) will in most cases
receive a keyword argument ``type_expression``, referring to the
expression object that the type is contained within.  For columns
in DDL, the dialect's compiler class may need to alter its
``get_column_specification()`` method to support this as well.
The ``UserDefinedType.get_col_spec()`` method will also receive
``type_expression`` if it provides ``**kw`` in its argument
signature.
fixes #3074

10 years ago- Fixed bug where Postgresql dialect would fail to render an
Mike Bayer [Fri, 16 Jan 2015 23:03:45 +0000 (18:03 -0500)] 
- Fixed bug where Postgresql dialect would fail to render an
expression in an :class:`.Index` that did not correspond directly
to a table-bound column; typically when a :func:`.text` construct
was one of the expressions within the index; or could misinterpret the
list of expressions if one or more of them were such an expression.
fixes #3174

10 years ago- add new section to ORM referring to runtime inspection API,
Mike Bayer [Wed, 14 Jan 2015 17:02:41 +0000 (12:02 -0500)] 
- add new section to ORM referring to runtime inspection API,
more links, attempt to fix #3290

10 years ago- The "wildcard" loader options, in particular the one set up by
Mike Bayer [Tue, 13 Jan 2015 22:04:35 +0000 (17:04 -0500)] 
- The "wildcard" loader options, in particular the one set up by
the :func:`.orm.load_only` option to cover all attributes not
explicitly mentioned, now takes into account the superclasses
of a given entity, if that entity is mapped with inheritance mapping,
so that attribute names within the superclasses are also omitted
from the load.  Additionally, the polymorphic discriminator column
is unconditionally included in the list, just in the same way that
primary key columns are, so that even with load_only() set up,
polymorphic loading of subtypes continues to function correctly.
fixes #3287

10 years ago- refine the previous commit a bit
Mike Bayer [Tue, 13 Jan 2015 20:17:09 +0000 (15:17 -0500)] 
- refine the previous commit a bit

10 years ago- The multi-values version of :meth:`.Insert.values` has been
Mike Bayer [Tue, 13 Jan 2015 19:33:33 +0000 (14:33 -0500)] 
- The multi-values version of :meth:`.Insert.values` has been
repaired to work more usefully with tables that have Python-
side default values and/or functions, as well as server-side
defaults. The feature will now work with a dialect that uses
"positional" parameters; a Python callable will also be
invoked individually for each row just as is the case with an
"executemany" style invocation; a server- side default column
will no longer implicitly receive the value explicitly
specified for the first row, instead refusing to invoke
without an explicit value. fixes #3288

10 years agorepair formatting
Mike Bayer [Mon, 12 Jan 2015 18:27:34 +0000 (13:27 -0500)] 
repair formatting

10 years ago- changelog for pr 41
Mike Bayer [Mon, 12 Jan 2015 18:24:11 +0000 (13:24 -0500)] 
- changelog for pr 41

10 years agoAdd native_enum flag to Enum's repr() result
Dimitris Theodorou [Mon, 12 Jan 2015 01:40:50 +0000 (02:40 +0100)] 
Add native_enum flag to Enum's repr() result

Needed for alembic autogenerate rendering.

10 years ago- doc fixes
Mike Bayer [Tue, 6 Jan 2015 16:45:17 +0000 (11:45 -0500)] 
- doc fixes

10 years ago- add a close here
Mike Bayer [Tue, 6 Jan 2015 16:34:52 +0000 (11:34 -0500)] 
- add a close here

10 years ago- Fixed bug where if an exception were thrown at the start of a
Mike Bayer [Tue, 6 Jan 2015 02:38:19 +0000 (21:38 -0500)] 
- Fixed bug where if an exception were thrown at the start of a
:class:`.Query` before it fetched results, particularly when
row processors can't be formed, the cursor would stay open with
results pending and not actually be closed.  This is typically only
an issue on an interpreter like Pypy where the cursor isn't
immediately GC'ed, and can in some circumstances lead to transactions/
locks being open longer than is desirable.
fixes #3285

10 years agofix verbiage
Mike Bayer [Tue, 6 Jan 2015 00:07:33 +0000 (19:07 -0500)] 
fix verbiage

10 years ago- add MemoizedSlots, a generalized solution to using __getattr__
Mike Bayer [Tue, 6 Jan 2015 00:02:08 +0000 (19:02 -0500)] 
- add MemoizedSlots, a generalized solution to using __getattr__
for memoization on a class that uses slots.
- apply many more __slots__.  mem use for nova now at 46% savings

10 years ago- make a new page that introduces mapping a little better for the
Mike Bayer [Mon, 5 Jan 2015 19:20:03 +0000 (14:20 -0500)] 
- make a new page that introduces mapping a little better for the
"mapping" section, contrasts declarative and classical some more

10 years ago- more callcounts
Mike Bayer [Mon, 5 Jan 2015 17:21:14 +0000 (12:21 -0500)] 
- more callcounts
- add the platform key to the error output

10 years ago- this is passing, no idea why
Mike Bayer [Mon, 5 Jan 2015 02:05:53 +0000 (21:05 -0500)] 
- this is passing, no idea why

10 years ago- callcounts
Mike Bayer [Mon, 5 Jan 2015 02:01:27 +0000 (21:01 -0500)] 
- callcounts
- this needs to be serializable and isn't high volume so just whack the slots

10 years ago- fix test for new events
Mike Bayer [Mon, 5 Jan 2015 00:43:48 +0000 (19:43 -0500)] 
- fix test for new events

10 years ago- Structural memory use has been improved via much more significant use
Mike Bayer [Mon, 5 Jan 2015 00:28:08 +0000 (19:28 -0500)] 
- Structural memory use has been improved via much more significant use
of ``__slots__`` for many internal objects.  This optimization is
particularly geared towards the base memory size of large applications
that have lots of tables and columns, and greatly reduces memory
size for a variety of high-volume objects including event listening
internals, comparator objects and parts of the ORM attribute and
loader strategy system.

10 years ago- scale back _Dispatch and _JoinedDispatcher to use a __getitem__ scheme
Mike Bayer [Mon, 5 Jan 2015 00:05:31 +0000 (19:05 -0500)] 
- scale back _Dispatch and _JoinedDispatcher to use a __getitem__ scheme
to start up listener collections; this pulls the overhead off of construction
and makes performance much like the descriptor version, while still allowing
slots.   Fix up some profiles.

10 years ago- clean up default comparator which doesn't need to be a class,
Mike Bayer [Sun, 4 Jan 2015 23:45:30 +0000 (18:45 -0500)] 
- clean up default comparator which doesn't need to be a class,
get PG stuff working

10 years ago- strategies + declarative
Mike Bayer [Sun, 4 Jan 2015 23:30:25 +0000 (18:30 -0500)] 
- strategies + declarative

10 years ago- wip - start factoring events so that we aren't using descriptors for dispatch,
Mike Bayer [Sun, 4 Jan 2015 20:07:36 +0000 (15:07 -0500)] 
- wip - start factoring events so that we aren't using descriptors for dispatch,
allowing us to move to __slots__

10 years ago- start trying to move things into __slots__. This seems to reduce the
Mike Bayer [Sun, 4 Jan 2015 06:53:42 +0000 (01:53 -0500)] 
- start trying to move things into __slots__.  This seems to reduce the
size of the many per-column objects we're hitting, but somehow the overall memory is
hardly being reduced at all in initial testing

10 years ago- use a different bitwise approach here that doesn't require iterating
Mike Bayer [Sun, 4 Jan 2015 04:22:07 +0000 (23:22 -0500)] 
- use a different bitwise approach here that doesn't require iterating
through all possible set values

10 years ago- The :class:`.mysql.SET` type has been overhauled to no longer
Mike Bayer [Sun, 4 Jan 2015 01:43:45 +0000 (20:43 -0500)] 
- The :class:`.mysql.SET` type has been overhauled to no longer
assume that the empty string, or a set with a single empty string
value, is in fact a set with a single empty string; instead, this
is by default treated as the empty set.  In order to handle persistence
of a :class:`.mysql.SET` that actually wants to include the blank
value ``''`` as a legitimate value, a new bitwise operational mode
is added which is enabled by the
:paramref:`.mysql.SET.retrieve_as_bitwise` flag, which will persist
and retrieve values unambiguously using their bitflag positioning.
Storage and retrieval of unicode values for driver configurations
that aren't converting unicode natively is also repaired.
fixes #3283

10 years ago- clean up SET tests
Mike Bayer [Sat, 3 Jan 2015 23:49:14 +0000 (18:49 -0500)] 
- clean up SET tests

10 years ago- tighten the inspection in _ColumnEntity to reduce unnecessary
Mike Bayer [Sat, 3 Jan 2015 17:10:17 +0000 (12:10 -0500)] 
- tighten the inspection in _ColumnEntity to reduce unnecessary
isinstance() calls, express intent more clearly

10 years ago- put this back now that we found the source of this
Mike Bayer [Fri, 2 Jan 2015 21:43:11 +0000 (16:43 -0500)] 
- put this back now that we found the source of this

10 years ago- test failures:
Mike Bayer [Fri, 2 Jan 2015 20:23:24 +0000 (15:23 -0500)] 
- test failures:
- test_schema_2 is only on PG and doesn't need a drop all, omit this for now
- py3k has exception.args[0], not message

10 years ago- repair drop_all_tables
Mike Bayer [Fri, 2 Jan 2015 15:08:21 +0000 (10:08 -0500)] 
- repair drop_all_tables

10 years ago- restate sort_tables in terms of a more fine grained
Mike Bayer [Thu, 1 Jan 2015 18:47:08 +0000 (13:47 -0500)] 
- restate sort_tables in terms of a more fine grained
sort_tables_and_constraints function.
- The DDL generation system of :meth:`.MetaData.create_all`
and :meth:`.Metadata.drop_all` has been enhanced to in most
cases automatically handle the case of mutually dependent
foreign key constraints; the need for the
:paramref:`.ForeignKeyConstraint.use_alter` flag is greatly
reduced.  The system also works for constraints which aren't given
a name up front; only in the case of DROP is a name required for
at least one of the constraints involved in the cycle.
fixes #3282

10 years ago- Added a new accessor :attr:`.Table.foreign_key_constraints`
Mike Bayer [Thu, 1 Jan 2015 18:24:32 +0000 (13:24 -0500)] 
- Added a new accessor :attr:`.Table.foreign_key_constraints`
to complement the :attr:`.Table.foreign_keys` collection,
as well as :attr:`.ForeignKeyConstraint.referred_table`.

10 years ago- remove the "edges" from the message here. It's illegible
Mike Bayer [Thu, 1 Jan 2015 18:14:05 +0000 (13:14 -0500)] 
- remove the "edges" from the message here.   It's illegible

10 years ago- fix some RST whitespace syntactical issues in toctrees
Mike Bayer [Tue, 30 Dec 2014 01:01:21 +0000 (20:01 -0500)] 
- fix some RST whitespace syntactical issues in toctrees
- have the topmost toctree only include page names
- add glossary to toctree, remove search by itself

10 years ago- see if we can get RTD to use this for now
Mike Bayer [Sun, 28 Dec 2014 22:11:36 +0000 (17:11 -0500)] 
- see if we can get RTD to use this for now

10 years agobump
Mike Bayer [Sun, 28 Dec 2014 16:06:47 +0000 (11:06 -0500)] 
bump

10 years agobump
Mike Bayer [Sun, 28 Dec 2014 15:43:39 +0000 (10:43 -0500)] 
bump

10 years ago- fix links for loading, add a redirect page
Mike Bayer [Sun, 28 Dec 2014 00:05:08 +0000 (19:05 -0500)] 
- fix links for loading, add a redirect page

bump

foo

10 years ago- another bump
Mike Bayer [Sat, 27 Dec 2014 22:56:40 +0000 (17:56 -0500)] 
- another bump

10 years ago- remove private superclasses from docs in favor of fixing
Mike Bayer [Sat, 27 Dec 2014 22:45:58 +0000 (17:45 -0500)] 
- remove private superclasses from docs in favor of fixing
zzzeeksphinx to omit these from warning

Conflicts:
doc/build/orm/internals.rst

10 years agoremove pipe...
Mike Bayer [Sat, 27 Dec 2014 22:17:05 +0000 (17:17 -0500)] 
remove pipe...

10 years agocorrections
Mike Bayer [Sat, 27 Dec 2014 21:54:32 +0000 (16:54 -0500)] 
corrections

10 years ago- corrections
Mike Bayer [Sat, 27 Dec 2014 20:55:30 +0000 (15:55 -0500)] 
- corrections
- attempt to add a script to semi-automate the fixing of links

10 years ago- typo fixes #3269
Mike Bayer [Sat, 27 Dec 2014 17:47:57 +0000 (12:47 -0500)] 
- typo fixes #3269

10 years ago- ouch, this needs to be in dbapi, not module level!
Mike Bayer [Fri, 19 Dec 2014 23:20:11 +0000 (18:20 -0500)] 
- ouch, this needs to be in dbapi, not module level!

10 years ago- make the google deprecation messages more specific, use full URL
Mike Bayer [Fri, 19 Dec 2014 19:15:56 +0000 (14:15 -0500)] 
- make the google deprecation messages more specific, use full URL
format
- add an extra doc to MySQLdb
- changelog

10 years agoMerge branch 'update-gaerdbms-docs' of https://bitbucket.org/rob_b/sqlalchemy into...
Mike Bayer [Fri, 19 Dec 2014 19:12:19 +0000 (14:12 -0500)] 
Merge branch 'update-gaerdbms-docs' of https://bitbucket.org/rob_b/sqlalchemy into pr39

10 years agoMaul the evaulate & friends typo
Priit Laes [Fri, 19 Dec 2014 16:46:16 +0000 (18:46 +0200)] 
Maul the evaulate & friends typo

10 years ago- Fixed bug where using a :class:`.TypeDecorator` that implemented
Mike Bayer [Fri, 19 Dec 2014 17:14:52 +0000 (12:14 -0500)] 
- 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.

10 years ago- create a new section on "custom load rules", to help with edge
Mike Bayer [Fri, 19 Dec 2014 16:55:10 +0000 (11:55 -0500)] 
- create a new section on "custom load rules", to help with edge
cases like that of #3277.  fixes #3277

10 years agoUpdate gaerdbms to highlight improved connection method
Rob Berry [Thu, 18 Dec 2014 13:17:11 +0000 (13:17 +0000)] 
Update gaerdbms to highlight improved connection method

10 years ago- classical is really not the most important topic here
Mike Bayer [Thu, 18 Dec 2014 00:20:06 +0000 (19:20 -0500)] 
- classical is really not the most important topic here

10 years ago- squash-merge the improve_toc branch, which moves all the Sphinx styling
Mike Bayer [Wed, 17 Dec 2014 22:24:23 +0000 (17:24 -0500)] 
- 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.

10 years ago- Added a version check to the MySQLdb dialect surrounding the
Mike Bayer [Tue, 16 Dec 2014 22:02:48 +0000 (17:02 -0500)] 
- 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

10 years ago- rework the migration doc sections
Mike Bayer [Sun, 14 Dec 2014 22:10:44 +0000 (17:10 -0500)] 
- rework the migration doc sections
- small fixes in bulk docs

10 years ago- automap isn't new anymore
Mike Bayer [Sun, 14 Dec 2014 21:21:40 +0000 (16:21 -0500)] 
- automap isn't new anymore

10 years ago- rework sqlite FK and unique constraint system to combine both PRAGMA
Mike Bayer [Sat, 13 Dec 2014 23:04:11 +0000 (18:04 -0500)] 
- 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

10 years ago- add tentative 'changelog' documentation on #3244
Jon Nelson [Sat, 15 Nov 2014 02:05:58 +0000 (20:05 -0600)] 
- add tentative 'changelog' documentation on #3244

10 years ago- add test_get_unnamed_unique_constraints to SQLite reflection tests
Jon Nelson [Sat, 15 Nov 2014 01:53:28 +0000 (19:53 -0600)] 
- add test_get_unnamed_unique_constraints to SQLite reflection tests

10 years ago- fix unique constraint parsing for sqlite -- may return '' for name, however
Jon Nelson [Wed, 12 Nov 2014 04:46:07 +0000 (22:46 -0600)] 
- fix unique constraint parsing for sqlite -- may return '' for name, however

10 years ago- Added new method :meth:`.Session.invalidate`, functions similarly
Mike Bayer [Sat, 13 Dec 2014 00:59:11 +0000 (19:59 -0500)] 
- 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

10 years ago- update zoomark
Mike Bayer [Fri, 12 Dec 2014 20:55:34 +0000 (15:55 -0500)] 
- update zoomark

10 years ago- fix up query update /delete documentation, make warnings
Mike Bayer [Wed, 10 Dec 2014 18:08:53 +0000 (13:08 -0500)] 
- fix up query update /delete documentation, make warnings
a lot clearer, partial fixes for #3252

10 years ago- keep working on fixing #3266, more cases, more tests
Mike Bayer [Wed, 10 Dec 2014 17:15:14 +0000 (12:15 -0500)] 
- keep working on fixing #3266, more cases, more tests

10 years ago- rework the handle error on connect tests from test_parsconnect where
Mike Bayer [Wed, 10 Dec 2014 17:11:59 +0000 (12:11 -0500)] 
- rework the handle error on connect tests from test_parsconnect where
they don't really belong into a new suite in test_execute

10 years agoMerge remote-tracking branch 'origin/pr/153'
Mike Bayer [Tue, 9 Dec 2014 03:59:54 +0000 (22:59 -0500)] 
Merge remote-tracking branch 'origin/pr/153'

10 years agoRemoving unneeded space.
Yuval Langer [Tue, 9 Dec 2014 02:19:18 +0000 (04:19 +0200)] 
Removing unneeded space.

10 years ago- identify another spot where _handle_dbapi_error() needs to do something
Mike Bayer [Mon, 8 Dec 2014 20:15:02 +0000 (15:15 -0500)] 
- 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

10 years ago- simplify the "noconnection" error handling, setting
Mike Bayer [Mon, 8 Dec 2014 19:05:20 +0000 (14:05 -0500)] 
- 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.

10 years ago- autoinc here for oracle
Mike Bayer [Mon, 8 Dec 2014 17:34:40 +0000 (12:34 -0500)] 
- autoinc here for oracle

10 years ago- force the _has_events flag to True on engines, so that
Mike Bayer [Mon, 8 Dec 2014 16:18:38 +0000 (11:18 -0500)] 
- force the _has_events flag to True on engines, so that
profiling is more predictable
- restore the profiling from before this change

10 years ago- some profile changes likely due to the change in event listening
Mike Bayer [Mon, 8 Dec 2014 06:18:07 +0000 (01:18 -0500)] 
- some profile changes likely due to the change in event listening
on engines

10 years ago- A new series of :class:`.Session` methods which provide hooks
Mike Bayer [Mon, 8 Dec 2014 06:10:30 +0000 (01:10 -0500)] 
- 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

10 years agostart docs...
Mike Bayer [Mon, 8 Dec 2014 02:08:14 +0000 (21:08 -0500)] 
start docs...

10 years ago- add an option for bulk_save -> update to not do history
Mike Bayer [Mon, 8 Dec 2014 01:36:01 +0000 (20:36 -0500)] 
- add an option for bulk_save -> update to not do history

10 years ago- fix inheritance persistence
Mike Bayer [Mon, 8 Dec 2014 01:21:20 +0000 (20:21 -0500)] 
- fix inheritance persistence
- start writing docs

10 years ago- initial tests for bulk
Mike Bayer [Sun, 7 Dec 2014 23:55:23 +0000 (18:55 -0500)] 
- initial tests for bulk

10 years ago- rework the assert_sql system so that we have a context manager to work with,
Mike Bayer [Sun, 7 Dec 2014 23:54:52 +0000 (18:54 -0500)] 
- 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.

10 years agoMerge branch 'master' into ticket_3100
Mike Bayer [Sun, 7 Dec 2014 22:48:32 +0000 (17:48 -0500)] 
Merge branch 'master' into ticket_3100

10 years ago- SQL Server 2012 now recommends VARCHAR(max), NVARCHAR(max),
Mike Bayer [Sat, 6 Dec 2014 18:30:51 +0000 (13:30 -0500)] 
- 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

10 years ago- enhance only_on() to work with compound specs
Mike Bayer [Sat, 6 Dec 2014 18:29:32 +0000 (13:29 -0500)] 
- enhance only_on() to work with compound specs
- fix "temporary_tables" requirement

10 years agopep8
Mike Bayer [Sat, 6 Dec 2014 17:39:18 +0000 (12:39 -0500)] 
pep8

10 years ago- adjust _revalidate_connection() again such that we pass a _wrap=False
Mike Bayer [Sat, 6 Dec 2014 00:08:47 +0000 (19:08 -0500)] 
- 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
0639c199a547343d62134d2f233225fd2862ec4541e7253dee168b8c26c49, #3266