]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years ago- Changed the beaker cache example a bit to have a separate
Mike Bayer [Fri, 12 Feb 2010 21:43:19 +0000 (21:43 +0000)] 
- Changed the beaker cache example a bit to have a separate
RelationCache option for lazyload caching.  This object
does a lookup among any number of potential attributes
more efficiently by grouping several into a common structure.
Both FromCache and RelationCache are simpler individually.

15 years agoadding more mapper sections nobody will ever see !
Mike Bayer [Fri, 12 Feb 2010 20:42:19 +0000 (20:42 +0000)] 
adding more mapper sections nobody will ever see !

15 years agoformatting
Mike Bayer [Fri, 12 Feb 2010 20:28:23 +0000 (20:28 +0000)] 
formatting

15 years agosince I just got confused over my own serializer module, clarify its purpose
Mike Bayer [Fri, 12 Feb 2010 20:22:22 +0000 (20:22 +0000)] 
since I just got confused over my own serializer module, clarify its purpose

15 years agothis is beta2
Mike Bayer [Fri, 12 Feb 2010 19:55:32 +0000 (19:55 +0000)] 
this is beta2

15 years ago - Made sqlalchemy.sql.expressions.Executable part of public
Mike Bayer [Fri, 12 Feb 2010 19:54:49 +0000 (19:54 +0000)] 
  - Made sqlalchemy.sql.expressions.Executable part of public
    API, used for any expression construct that can be sent to
    execute().  FunctionElement now inherits Executable so that
    it gains execution_options(), which are also propagated
    to the select() that's generated within execute().
    Executable in turn subclasses _Generative which marks
    any ClauseElement that supports the @_generative
    decorator - these may also become "public" for the benefit
    of the compiler extension at some point.

15 years ago- The type/expression system now does a more complete job
Mike Bayer [Thu, 11 Feb 2010 19:33:06 +0000 (19:33 +0000)] 
- The type/expression system now does a more complete job
of determining the return type from an expression
as well as the adaptation of the Python operator into
a SQL operator, based on the full left/right/operator
of the given expression.  In particular
the date/time/interval system created for Postgresql
EXTRACT in [ticket:1647] has now been generalized into
the type system.   The previous behavior which often
occured of an expression "column + literal" forcing
the type of "literal" to be the same as that of "column"
will now usually not occur - the type of
"literal" is first derived from the Python type of the
literal, assuming standard native Python types + date
types, before falling back to that of the known type
on the other side of the expression.  Also part
of [ticket:1683].

15 years agoslightly simplify/optimize string/unicode bind processor
Gaëtan de Menten [Thu, 11 Feb 2010 13:20:41 +0000 (13:20 +0000)] 
slightly simplify/optimize string/unicode bind processor

15 years ago - Added "native_datetime=True" flag to create_engine().
Mike Bayer [Thu, 11 Feb 2010 02:23:32 +0000 (02:23 +0000)] 
   - Added "native_datetime=True" flag to create_engine().
     This will cause the DATE and TIMESTAMP types to skip
     all bind parameter and result row processing, under
     the assumption that PARSE_DECLTYPES has been enabled
     on the connection.  Note that this is not entirely
     compatible with the "func.current_date()", which
     will be returned as a string. [ticket:1685]

15 years agoFixed bug in session.merge() blocking dict-like collections from merging.
Jason Kirtland [Thu, 11 Feb 2010 00:43:34 +0000 (00:43 +0000)] 
Fixed bug in session.merge() blocking dict-like collections from merging.

15 years agoFix mysql reflection of TINYINT(1) UNSIGNED columns.
Jason Kirtland [Wed, 10 Feb 2010 18:32:56 +0000 (18:32 +0000)] 
Fix mysql reflection of TINYINT(1) UNSIGNED columns.

15 years ago- Restored the keys() method to ResultProxy.
Mike Bayer [Wed, 10 Feb 2010 14:55:37 +0000 (14:55 +0000)] 
- Restored the keys() method to ResultProxy.

15 years ago- Fixed reflection bug whereby when COLLATE was present,
Mike Bayer [Wed, 10 Feb 2010 05:46:03 +0000 (05:46 +0000)] 
- Fixed reflection bug whereby when COLLATE was present,
nullable flag and server defaults would not be reflected.
[ticket:1655]

15 years agoFix instance.__eq__() regression in orm attributes.
Jason Kirtland [Tue, 9 Feb 2010 22:38:00 +0000 (22:38 +0000)] 
Fix instance.__eq__() regression in orm attributes.

15 years agoLink to the maintained version of the kinterbasdb driver, fixes #1677
Lele Gaifax [Tue, 9 Feb 2010 09:12:58 +0000 (09:12 +0000)] 
Link to the maintained version of the kinterbasdb driver, fixes #1677

15 years ago- Query called in the context of an expression will render
Mike Bayer [Mon, 8 Feb 2010 18:37:47 +0000 (18:37 +0000)] 
- Query called in the context of an expression will render
disambiguating labels in all cases.    Note that this does
not apply to the existing .statement and .subquery()
accessor/method, which still honors the .with_labels()
setting that defaults to False.

- Query.union() retains disambiguating labels within the
returned statement, thus avoiding various SQL composition
errors which can result from column name conflicts.
[ticket:1676]

15 years agofix up formatting, add OurSQL
Mike Bayer [Mon, 8 Feb 2010 15:54:11 +0000 (15:54 +0000)] 
fix up formatting, add OurSQL

15 years ago- Now uses sqlalchemy.orm.exc.DetachedInstanceError when an
Mike Bayer [Sun, 7 Feb 2010 23:58:17 +0000 (23:58 +0000)] 
- Now uses sqlalchemy.orm.exc.DetachedInstanceError when an
attribute load or refresh action fails due to object
being detached from any Session.   UnboundExecutionError
is specific to engines bound to sessions and statements.

15 years agoadd sql_compiler property to all Compiled subclasses for convenience
Mike Bayer [Sun, 7 Feb 2010 19:51:45 +0000 (19:51 +0000)] 
add sql_compiler property to all Compiled subclasses for convenience

15 years agodont reference self.statement during compilation
Mike Bayer [Sun, 7 Feb 2010 19:24:49 +0000 (19:24 +0000)] 
dont reference self.statement during compilation

15 years ago- FunctionElement subclasses are now directly executable the
Mike Bayer [Sun, 7 Feb 2010 00:56:05 +0000 (00:56 +0000)] 
- FunctionElement subclasses are now directly executable the
same way any func.foo() construct is, with automatic
SELECT being applied when passed to execute().

- The "type" and "bind" keyword arguments of a func.foo()
construct are now local to "func." constructs and are
not part of the FunctionElement base class, allowing
a "type" to be handled in a custom constructor or
class-level variable.

15 years agoadd a note about type for ColumnElement
Mike Bayer [Sun, 7 Feb 2010 00:18:15 +0000 (00:18 +0000)] 
add a note about type for ColumnElement

15 years agofix
Mike Bayer [Sat, 6 Feb 2010 01:36:29 +0000 (01:36 +0000)] 
fix

15 years ago- Re-established initial support for pymssql.
Mike Bayer [Sat, 6 Feb 2010 00:01:39 +0000 (00:01 +0000)] 
- Re-established initial support for pymssql.

15 years ago- Slight improvement to the fix for [ticket:1362] to not issue
Mike Bayer [Fri, 5 Feb 2010 19:16:10 +0000 (19:16 +0000)] 
- Slight improvement to the fix for [ticket:1362] to not issue
needless updates of the primary key column during a so-called
"row switch" operation, i.e. add + delete of two objects
with the same PK.

15 years ago- Fixed bug in session.rollback() which involved not removing
Mike Bayer [Fri, 5 Feb 2010 18:12:38 +0000 (18:12 +0000)] 
- Fixed bug in session.rollback() which involved not removing
formerly "pending" objects from the session before
re-integrating "deleted" objects, typically occured with
natural primary keys. If there was a primary key conflict
between them, the attach of the deleted would fail
internally. The formerly "pending" objects are now expunged
first. [ticket:1674]

15 years ago- Added math negation operator support, -x.
Mike Bayer [Fri, 5 Feb 2010 15:49:02 +0000 (15:49 +0000)] 
- Added math negation operator support, -x.

15 years agoa big, unmissable, green box describing the caveats of String() and Sequence.
Mike Bayer [Fri, 5 Feb 2010 01:01:40 +0000 (01:01 +0000)] 
a big, unmissable, green box describing the caveats of String() and Sequence.

15 years agobug #1 , wrong 0.5 version mentioned !
Mike Bayer [Wed, 3 Feb 2010 17:39:16 +0000 (17:39 +0000)] 
bug #1 , wrong 0.5 version mentioned !

15 years ago- official name rel_0_6beta1
Mike Bayer [Wed, 3 Feb 2010 16:59:10 +0000 (16:59 +0000)] 
- official name
- remove the switch readme

15 years agothe order of rollback()s wasn't correct. slightly disturbing as the test usually...
Mike Bayer [Tue, 2 Feb 2010 23:26:34 +0000 (23:26 +0000)] 
the order of rollback()s wasn't correct.  slightly disturbing as the test usually passed,
began failing on PG as of somewhat unrelated commit r6705, and only when the full test/engine series
of tests were run.  very heisenbuggy. may want to add tests to assert that TLEngine is enforcing
nesting even with subtransactions.

15 years ago- Primary key values can now be changed on a joined-table inheritance
Mike Bayer [Tue, 2 Feb 2010 22:56:19 +0000 (22:56 +0000)] 
- Primary key values can now be changed on a joined-table inheritance
object, and ON UPDATE CASCADE will be taken into account when
the flush happens.  Set the new "passive_updates" flag to False
on mapper() when using SQLite or MySQL/MyISAM. [ticket:1362]

- flush() now detects when a primary key column was updated by
an ON UPDATE CASCADE operation from another primary key, and
can then locate the row for a subsequent UPDATE on the new PK
value.  This occurs when a relation() is there to establish
the relationship as well as passive_updates=True.  [ticket:1671]

15 years agoformatting tweak
Mike Bayer [Tue, 2 Feb 2010 01:48:01 +0000 (01:48 +0000)] 
formatting tweak

15 years agoadd 0.5.9 note for [ticket:1661]
Mike Bayer [Tue, 2 Feb 2010 01:17:44 +0000 (01:17 +0000)] 
add 0.5.9 note for [ticket:1661]

15 years ago- added a failing-so-far test for #1671
Mike Bayer [Mon, 1 Feb 2010 23:38:51 +0000 (23:38 +0000)] 
- added a failing-so-far test for #1671

15 years agoyikes entirely wrong option name here
Mike Bayer [Sun, 31 Jan 2010 15:49:51 +0000 (15:49 +0000)] 
yikes entirely wrong option name here

15 years ago- use_ansi=False won't leak into the FROM/WHERE clause of
Mike Bayer [Sat, 30 Jan 2010 19:00:40 +0000 (19:00 +0000)] 
- use_ansi=False won't leak into the FROM/WHERE clause of
a statement that's selecting from a subquery that also
uses JOIN/OUTERJOIN.

15 years ago- the "save-update" cascade will now cascade the pending *removed*
Mike Bayer [Sat, 30 Jan 2010 18:28:37 +0000 (18:28 +0000)] 
- the "save-update" cascade will now cascade the pending *removed*
values from a scalar or collection attribute into the new session
during an add() operation.  This so that the flush() operation
will also delete or modify rows of those disconnected items.

15 years ago- the "connection" argument from engine.transaction() and
Mike Bayer [Fri, 29 Jan 2010 22:20:55 +0000 (22:20 +0000)] 
- the "connection" argument from engine.transaction() and
engine.run_callable() is removed - Connection itself
now has those methods.   All four methods accept
*args and **kwargs which are passed to the given callable,
as well as the operating connection.

15 years agooursql doesn't need the warnings propagate flag
Mike Bayer [Fri, 29 Jan 2010 20:21:47 +0000 (20:21 +0000)] 
oursql doesn't need the warnings propagate flag

15 years agofor string deferred evals, don't return the underlying Column, rely upon the original...
Mike Bayer [Fri, 29 Jan 2010 18:55:03 +0000 (18:55 +0000)] 
for string deferred evals, don't return the underlying Column, rely upon the original propcomparator to do what it wants.
reduces duplication of the "columns[0]" rule and removes potentially surprise behavior from the eval

15 years agofix the kwargs scoping. mysteriously was affecting pool gcing
Mike Bayer [Fri, 29 Jan 2010 02:16:48 +0000 (02:16 +0000)] 
fix the kwargs scoping.  mysteriously was affecting pool gcing

15 years ago- inline some code and turn some instance-level defaults into class level
Mike Bayer [Fri, 29 Jan 2010 02:01:11 +0000 (02:01 +0000)] 
- inline some code and turn some instance-level defaults into class level

15 years ago - the "autocommit" flag on select() and text() as well
Mike Bayer [Thu, 28 Jan 2010 23:49:22 +0000 (23:49 +0000)] 
- the "autocommit" flag on select() and text() as well
      as select().autocommit() are deprecated - now call
      .execution_options(autocommit=True) on either of those
      constructs, also available directly on Connection and orm.Query.

15 years ago- make frozendict serializable
Mike Bayer [Thu, 28 Jan 2010 22:47:25 +0000 (22:47 +0000)] 
- make frozendict serializable
- serialize tests use HIGHEST_PROTOCOL

15 years agoagainst is optional
Mike Bayer [Thu, 28 Jan 2010 22:14:34 +0000 (22:14 +0000)] 
against is optional

15 years ago- allow exists(s.as_scalar()) to work
Mike Bayer [Thu, 28 Jan 2010 21:13:38 +0000 (21:13 +0000)] 
- allow exists(s.as_scalar()) to work

15 years agoadd an informative error msg for non-collection passed to select()
Mike Bayer [Thu, 28 Jan 2010 20:30:42 +0000 (20:30 +0000)] 
add an informative error msg for non-collection passed to select()

15 years agoFix #1663: the whitespace after DEFAULT may start with a newline
Lele Gaifax [Thu, 28 Jan 2010 10:52:08 +0000 (10:52 +0000)] 
Fix #1663: the whitespace after DEFAULT may start with a newline

15 years agomissing import, forcefully compile the expression to str
Philip Jenvey [Tue, 26 Jan 2010 23:23:13 +0000 (23:23 +0000)] 
missing import, forcefully compile the expression to str

15 years agooracle compat
Philip Jenvey [Tue, 26 Jan 2010 06:17:02 +0000 (06:17 +0000)] 
oracle compat

15 years agoBinary -> LargeBinary
Philip Jenvey [Tue, 26 Jan 2010 06:15:20 +0000 (06:15 +0000)] 
Binary -> LargeBinary

15 years ago- Added a tuple_() construct, allows sets of expressions
Mike Bayer [Mon, 25 Jan 2010 21:04:50 +0000 (21:04 +0000)] 
- Added a tuple_() construct, allows sets of expressions
to be compared to another set, typically with IN against
composite primary keys or similar.  Also accepts an
IN with multiple columns.   The "scalar select can
have only one column" error message is removed - will
rely upon the database to report problems with
col mismatch.

15 years agoadded a test to ensure the concrete example in the docs works
Mike Bayer [Mon, 25 Jan 2010 16:22:07 +0000 (16:22 +0000)] 
added a test to ensure the concrete example in the docs works

15 years agohandle the new CursorFairy __setattr__
Philip Jenvey [Mon, 25 Jan 2010 04:56:47 +0000 (04:56 +0000)] 
handle the new CursorFairy __setattr__

15 years agofricking typo
Mike Bayer [Mon, 25 Jan 2010 00:47:02 +0000 (00:47 +0000)] 
fricking typo

15 years agoremove my comment. still wish this could be done in a cleaner way tho
Mike Bayer [Mon, 25 Jan 2010 00:41:55 +0000 (00:41 +0000)] 
remove my comment.  still wish this could be done in a cleaner way tho

15 years ago- union(), intersect(), except() and other "compound" types
Mike Bayer [Mon, 25 Jan 2010 00:35:28 +0000 (00:35 +0000)] 
- union(), intersect(), except() and other "compound" types
of statements have more consistent behavior w.r.t.
parenthesizing.   Each compound element embedded within
another will now be grouped with parenthesis - previously,
the first compound element in the list would not be grouped,
as SQLite doesn't like a statement to start with
parenthesis.   However, Postgresql in particular has
precedence rules regarding INTERSECT, and it is
more consistent for parenthesis to be applied equally
to all sub-elements.   So now, the workaround for SQLite
is also what the workaround for PG was previously -
when nesting compound elements, the first one usually needs
".alias().select()" called on it to wrap it inside
of a subquery.  [ticket:1665]

15 years agorevert r6686 and adjust the stacklevel of test_notsane_warning's SAWarning so
Philip Jenvey [Mon, 25 Jan 2010 00:32:47 +0000 (00:32 +0000)] 
revert r6686 and adjust the stacklevel of test_notsane_warning's SAWarning so
it can force it to be emitted

15 years ago- Connection has execution_options(), generative method
Mike Bayer [Sun, 24 Jan 2010 22:50:58 +0000 (22:50 +0000)] 
- Connection has execution_options(), generative method
which accepts keywords that affect how the statement
is executed w.r.t. the DBAPI.   Currently supports
"stream_results", causes psycopg2 to use a server
side cursor for that statement.   Can also be set
upon select() and text() constructs directly as well
as ORM Query().

15 years agoquery
Mike Bayer [Sun, 24 Jan 2010 21:42:21 +0000 (21:42 +0000)] 
query

15 years agotest_notsane_working needs to run first for dialects that don't
Philip Jenvey [Sun, 24 Jan 2010 21:32:09 +0000 (21:32 +0000)] 
test_notsane_working needs to run first for dialects that don't
supports_sane_rowcount so the other VersioningTests don't ignore the warning it
expects (that ignore lasts forever)

15 years agonot ready to put execution_options in the text()/select() constructors yet
Mike Bayer [Sun, 24 Jan 2010 19:18:55 +0000 (19:18 +0000)] 
not ready to put execution_options in the text()/select() constructors yet

15 years ago- move "should_autocommit" to a deferred method. connection wont call it if a trans...
Mike Bayer [Sun, 24 Jan 2010 19:01:11 +0000 (19:01 +0000)] 
- move "should_autocommit" to a deferred method.   connection wont call it if a transaction is in progress.

15 years ago- oracle + firebird: "case sensitivity" feature will detect an all-lowercase
Mike Bayer [Sun, 24 Jan 2010 18:41:30 +0000 (18:41 +0000)] 
- oracle + firebird: "case sensitivity" feature will detect an all-lowercase
case-sensitive column name during reflect and add
"quote=True" to the generated Column, so that proper
quoting is maintained.

15 years ago- the "threadlocal" engine has been rewritten and simplified
Mike Bayer [Sun, 24 Jan 2010 18:13:21 +0000 (18:13 +0000)] 
- the "threadlocal" engine has been rewritten and simplified
and now supports SAVEPOINT operations.

15 years agoclarify intent
Mike Bayer [Sun, 24 Jan 2010 15:37:50 +0000 (15:37 +0000)] 
clarify intent

15 years agodisable SAWarning exceptions when supports_sane_rowcount isn't supported so
Philip Jenvey [Sat, 23 Jan 2010 21:35:40 +0000 (21:35 +0000)] 
disable SAWarning exceptions when supports_sane_rowcount isn't supported so
VersioningTest can complete

15 years ago- types.Binary is renamed to types.LargeBinary, it only
Mike Bayer [Sat, 23 Jan 2010 19:44:06 +0000 (19:44 +0000)] 
- types.Binary is renamed to types.LargeBinary, it only
produces BLOB, BYTEA, or a similar "long binary" type.
New base BINARY and VARBINARY
types have been added to access these MySQL/MS-SQL specific
types in an agnostic way [ticket:1664].

15 years ago- association_proxy now has basic comparator methods .any(),
Mike Bayer [Fri, 22 Jan 2010 20:24:27 +0000 (20:24 +0000)] 
- association_proxy now has basic comparator methods .any(),
.has(), .contains(), ==, !=, thanks to Scott Torborg.
[ticket:1372]

15 years agonot applicable to zxjdbc
Philip Jenvey [Fri, 22 Jan 2010 02:15:22 +0000 (02:15 +0000)] 
not applicable to zxjdbc

15 years agoarrange imports, cleanup
Philip Jenvey [Fri, 22 Jan 2010 02:11:56 +0000 (02:11 +0000)] 
arrange imports, cleanup

15 years agosend along the sqlsoup engine for encoding purposes.
Mike Bayer [Thu, 21 Jan 2010 20:52:37 +0000 (20:52 +0000)] 
send along the sqlsoup engine for encoding purposes.

15 years ago- ensure correct session usage + tests
Mike Bayer [Thu, 21 Jan 2010 20:41:52 +0000 (20:41 +0000)] 
- ensure correct session usage + tests

15 years agouse issubclass here, allows lazy loads from a subclass to hit a loader that was confi...
Mike Bayer [Thu, 21 Jan 2010 17:40:41 +0000 (17:40 +0000)] 
use issubclass here, allows lazy loads from a subclass to hit a loader that was configured on base

15 years agoadd autoflush to the list of attributes exported on scoped_session
Mike Bayer [Thu, 21 Jan 2010 16:23:22 +0000 (16:23 +0000)] 
add autoflush to the list of attributes exported on scoped_session

15 years agofixed the illegal_initial_chars collection + unit test, [ticket:1659]
Mike Bayer [Thu, 21 Jan 2010 15:56:23 +0000 (15:56 +0000)] 
fixed the illegal_initial_chars collection + unit test, [ticket:1659]

15 years agobase supports_native_enum on 8.3 or greater
Mike Bayer [Thu, 21 Jan 2010 03:41:35 +0000 (03:41 +0000)] 
base supports_native_enum on 8.3 or greater

15 years ago- agnosticize checking for the two phase events
Mike Bayer [Thu, 21 Jan 2010 01:46:06 +0000 (01:46 +0000)] 
- agnosticize checking for the two phase events

15 years agofix ResultProxy for SQLite truncated names
Gaëtan de Menten [Wed, 20 Jan 2010 20:47:20 +0000 (20:47 +0000)] 
fix ResultProxy for SQLite truncated names

15 years ago - query.select_from() also accepts mapped classes, aliased()
Mike Bayer [Wed, 20 Jan 2010 19:26:12 +0000 (19:26 +0000)] 
  - query.select_from() also accepts mapped classes, aliased()
    constructs, and mappers as arguments.  In particular this
    helps when querying from multiple joined-table classes to ensure
    the full join gets rendered.

15 years agomoved the metadata step of ResultProxy into a ResultMetaData object. this also repla...
Mike Bayer [Wed, 20 Jan 2010 17:48:43 +0000 (17:48 +0000)] 
moved the metadata step of ResultProxy into a ResultMetaData object.  this also replaces PickledResultProxy.
Allows RowProxy objects to reference just the metadata they need and provides the "core" of ResultProxy
detached from the object itself, allowing ResultProxy implementations to vary more easily.  will also
enable [ticket:1635]

15 years agolessons learned unpickling from an 0.5 cache
Mike Bayer [Tue, 19 Jan 2010 23:25:43 +0000 (23:25 +0000)] 
lessons learned unpickling from an 0.5 cache

15 years ago- mega example cleanup
Mike Bayer [Tue, 19 Jan 2010 00:53:12 +0000 (00:53 +0000)] 
- mega example cleanup
- added READMEs to all examples in each __init__.py and added to sphinx documentation
- added versioning example
- removed vertical/vertical.py, the dictlikes are more straightforward

15 years agosome cleanup
Mike Bayer [Mon, 18 Jan 2010 21:47:50 +0000 (21:47 +0000)] 
some cleanup

15 years agosorry, this example is just ridiculous
Mike Bayer [Mon, 18 Jan 2010 21:35:18 +0000 (21:35 +0000)] 
sorry, this example is just ridiculous

15 years agomodernized "adjacencytree" example
Mike Bayer [Mon, 18 Jan 2010 21:29:55 +0000 (21:29 +0000)] 
modernized "adjacencytree" example

15 years agoupdated the large_collection example to modern SQLA.
Mike Bayer [Mon, 18 Jan 2010 20:58:34 +0000 (20:58 +0000)] 
updated the large_collection example to modern SQLA.

15 years ago- added native INTERVAL type to the dialect. This supports
Mike Bayer [Mon, 18 Jan 2010 03:00:05 +0000 (03:00 +0000)] 
- added native INTERVAL type to the dialect.  This supports
  only the DAY TO SECOND interval type so far due to lack
  of support in cx_oracle for YEAR TO MONTH. [ticket:1467]
- The Interval type includes a "native" flag which controls
  if native INTERVAL types (postgresql + oracle) are selected
  if available, or not.  "day_precision" and "second_precision"
  arguments are also added which propagate as appropriately
  to these native types. Related to [ticket:1467].
- DefaultDialect.type_descriptor moves back to being per-dialect.
  TypeEngine/TypeDecorator key type impls to the dialect class
  + server_version_info so that the colspecs dict can be modified
  per-dialect based on server version.
- Fixed TypeDecorator's incorrect usage of _impl_dict

15 years ago- raise error when unpickling non-mapped state, [ticket:1610]
Mike Bayer [Sun, 17 Jan 2010 22:23:54 +0000 (22:23 +0000)] 
- raise error when unpickling non-mapped state, [ticket:1610]
- remove pickle language from regular unmapped class error

15 years ago- add a unit test for r6089 / [ticket:1438]
Mike Bayer [Sun, 17 Jan 2010 21:49:31 +0000 (21:49 +0000)] 
- add a unit test for r6089 / [ticket:1438]

15 years ago- implement dynamic type_affinity for Oracle.NUMBER
Mike Bayer [Sun, 17 Jan 2010 21:29:03 +0000 (21:29 +0000)] 
- implement dynamic type_affinity for Oracle.NUMBER
- standardize type tests on type affinity matches

15 years ago- remove the exclusion of cx_oracle.STRING from setinputsizes by
Mike Bayer [Sun, 17 Jan 2010 21:12:47 +0000 (21:12 +0000)] 
- remove the exclusion of cx_oracle.STRING from setinputsizes by
configuring cx_oracle.UNICODE on OracleNVarChar.  Attempts
were made to pass unicode data to/from a plain VARCHAR2 with
cx_oracle, both with and without setinputsizes in use, but
it doesn't appear to be possible - therefore users will need to use
Unicode/UnicodeText with oracle if data contains non-ASCII info.
[ticket:1517]
- updated the Unicode/UnicodeText docs to reflect this, that
convert_unicode might not be enough.
- allowed convert_unicode='force' to be significant for bind parameters
as well.

15 years agostatement_options -> execution_options
Mike Bayer [Sun, 17 Jan 2010 20:43:35 +0000 (20:43 +0000)] 
statement_options -> execution_options

15 years ago- reorganized and re-documented Oracle schema tests to assume
Mike Bayer [Sun, 17 Jan 2010 20:32:45 +0000 (20:32 +0000)] 
- reorganized and re-documented Oracle schema tests to assume
test user has DBA privs, and all objects can be created /dropped.
- added ORDER BY to oracle column listing
- Oracle all_tables always limits to current user if schema not given.
- views reflect - added documentation + a unit test for this.
- Table(autoload) with no bind produces an error message specific to
the fact that autoload_with should be the first option to try.

15 years agoupdate test_schema/test_schema_2 docs, per [ticket:1644]
Mike Bayer [Sun, 17 Jan 2010 18:10:37 +0000 (18:10 +0000)] 
update test_schema/test_schema_2 docs, per [ticket:1644]

15 years agodoc updates partially from [ticket:1651]
Mike Bayer [Sun, 17 Jan 2010 18:00:01 +0000 (18:00 +0000)] 
doc updates partially from [ticket:1651]

15 years ago- added "statement_options()" to Query, to so options can be
Mike Bayer [Sat, 16 Jan 2010 22:44:04 +0000 (22:44 +0000)] 
- added "statement_options()" to Query, to so options can be
passed to the resulting statement. Currently only
Select-statements have these options, and the only option
used is "stream_results", and the only dialect which knows
"stream_results" is psycopg2.
- Query.yield_per() will set the "stream_results" statement
option automatically.
- Added "statement_options()" to Selects, which set statement
specific options. These enable e.g. dialect specific options
such as whether to enable using server side cursors, etc.
- The psycopg2 now respects the statement option
"stream_results". This option overrides the connection setting
"server_side_cursors". If true, server side cursors will be
used for the statement. If false, they will not be used, even
if "server_side_cursors" is true on the
connection. [ticket:1619]
- added a "frozendict" from http://code.activestate.com/recipes/414283/,
adding more default collections as immutable class vars on
Query, Insert, Select

15 years agoadd a doc for query.delete()
Mike Bayer [Sat, 16 Jan 2010 21:31:07 +0000 (21:31 +0000)] 
add a doc for query.delete()

15 years ago- ConnectionProxy now has wrapper methods for all transaction
Mike Bayer [Sat, 16 Jan 2010 19:04:39 +0000 (19:04 +0000)] 
- ConnectionProxy now has wrapper methods for all transaction
lifecycle events, including begin(), rollback(), commit()
begin_nested(), begin_prepared(), prepare(), release_savepoint(),
etc.