]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years agofixed a huge bug in the C version of the unicode processor
Gaëtan de Menten [Sun, 14 Feb 2010 20:55:06 +0000 (20:55 +0000)] 
fixed a huge bug in the C version of the unicode processor

15 years ago- Further fixes for the mysql-connector dialect. [ticket:1668]
Mike Bayer [Sun, 14 Feb 2010 20:24:15 +0000 (20:24 +0000)] 
- Further fixes for the mysql-connector dialect.  [ticket:1668]

15 years agoI'm seeing lower numbers from the objselectspeed.py test, so bumping down the lower...
Mike Bayer [Sun, 14 Feb 2010 20:10:48 +0000 (20:10 +0000)] 
I'm seeing lower numbers from the objselectspeed.py test, so bumping down the lower bounds here.

15 years agolinking some API elements. this is a long job that I don't know how to speed up
Mike Bayer [Sun, 14 Feb 2010 19:45:03 +0000 (19:45 +0000)] 
linking some API elements.  this is a long job that I don't know how to speed up

15 years agorepair all doctests
Mike Bayer [Sun, 14 Feb 2010 19:29:18 +0000 (19:29 +0000)] 
repair all doctests

15 years ago- query.one() no longer applies LIMIT to the query, this to
Mike Bayer [Sun, 14 Feb 2010 19:23:35 +0000 (19:23 +0000)] 
- query.one() no longer applies LIMIT to the query, this to
ensure that it fully counts all object identities present
in the result, even in the case where joins may conceal
multiple identities for two or more rows.  As a bonus,
one() can now also be called with a query that issued
from_statement() to start with since it no longer modifies
the query.  [ticket:1688]

15 years agoadd a note
Mike Bayer [Sun, 14 Feb 2010 18:40:51 +0000 (18:40 +0000)] 
add a note

15 years agotry to clarify intent some more
Mike Bayer [Sun, 14 Feb 2010 18:39:39 +0000 (18:39 +0000)] 
try to clarify intent some more

15 years ago- Added an optional C extension to speed up the sql layer by
Gaëtan de Menten [Sat, 13 Feb 2010 22:53:39 +0000 (22:53 +0000)] 
- Added an optional C extension to speed up the sql layer by
  reimplementing the highest impact functions.
  The actual speedups will depend heavily on your DBAPI and
  the mix of datatypes used in your tables, and can vary from
  a 50% improvement to more than 200%. It also provides a modest
  (~20%) indirect improvement to ORM speed for large queries.
  Note that it is *not* built/installed by default.
  See README for installation instructions.

- The most common result processors conversion function were
  moved to the new "processors" module.  Dialect authors are
  encouraged to use those functions whenever they correspond
  to their needs instead of implementing custom ones.

15 years ago- Documentation clarification for query.delete()
Mike Bayer [Sat, 13 Feb 2010 21:40:02 +0000 (21:40 +0000)] 
- Documentation clarification for query.delete()
[ticket:1689]

15 years ago- reduced a bit of overhead in attribute expiration, particularly
Mike Bayer [Sat, 13 Feb 2010 21:16:08 +0000 (21:16 +0000)] 
- reduced a bit of overhead in attribute expiration, particularly
the version called by column loaders on an incomplete row (i.e.
joined table inheritance).  there are more dramatic changes
that can be made here but this one is conservative so far
as far as how much we're altering how InstanceState tracks
"expired" attributes.

15 years agomisc cleanups in tests (courtesy of Michael Bayer's revisiting of my
Gaëtan de Menten [Sat, 13 Feb 2010 20:53:17 +0000 (20:53 +0000)] 
misc cleanups in tests (courtesy of Michael Bayer's revisiting of my
patch)

15 years ago- For those who might use debug logging on
Mike Bayer [Sat, 13 Feb 2010 19:27:14 +0000 (19:27 +0000)] 
- For those who might use debug logging on
sqlalchemy.orm.strategies, most logging calls during row
loading have been removed.   These were never very helpful
and cluttered up the code.

- Some internal streamlining of object loading grants a
small speedup for large results, estimates are around
10-15%.

15 years agocommit a note about 2to3
Mike Bayer [Sat, 13 Feb 2010 01:59:32 +0000 (01:59 +0000)] 
commit a note about 2to3

15 years ago- Improved the installation/test setup regarding Python 3,
Mike Bayer [Sat, 13 Feb 2010 01:42:52 +0000 (01:42 +0000)] 
- Improved the installation/test setup regarding Python 3,
now that Distribute runs on Py3k.   distribute_setup.py
is now included.  See README.py3k for Python 3 installation/
testing instructions.

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