]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years agoremove unneeded _OracleDateTime/_OracleTimestamp cx_oracle types, streamline _OracleD...
Mike Bayer [Sun, 6 Dec 2009 01:59:14 +0000 (01:59 +0000)] 
remove unneeded _OracleDateTime/_OracleTimestamp cx_oracle types, streamline _OracleDate, [ticket:1600]

15 years ago- merged r6526 from 0.5 branch + some additional formatting fixes, [ticket:1597]
Mike Bayer [Sun, 6 Dec 2009 01:41:13 +0000 (01:41 +0000)] 
- merged r6526 from 0.5 branch + some additional formatting fixes, [ticket:1597]

15 years ago- fixed the import for entrypoint-driven dialects to
Mike Bayer [Sat, 5 Dec 2009 00:36:11 +0000 (00:36 +0000)] 
- fixed the import for entrypoint-driven dialects to
not rely upon silly tb_info trick to determine import
error status.  [ticket:1630]

15 years ago - an explicit check occurs when a synonym() is used with
Mike Bayer [Fri, 4 Dec 2009 01:51:23 +0000 (01:51 +0000)] 
  - an explicit check occurs when a synonym() is used with
    map_column=True, when a ColumnProperty (deferred or otherwise)
    exists separately in the properties dictionary sent to mapper
    with the same keyname.   Instead of silently replacing
    the existing property (and possible options on that property),
    an error is raised.  [ticket:1633]

15 years ago- The cursor associated with connection pool connections
Mike Bayer [Thu, 3 Dec 2009 02:34:47 +0000 (02:34 +0000)] 
- The cursor associated with connection pool connections
(i.e. _CursorFairy) now proxies `__iter__()` to the
underlying cursor correctly. [ticket:1632]

15 years agoprimaryjoin/secondaryjoin accept ColumnElement, docs, [ticket:1622]
Mike Bayer [Mon, 30 Nov 2009 16:31:16 +0000 (16:31 +0000)] 
primaryjoin/secondaryjoin accept ColumnElement, docs, [ticket:1622]

16 years ago- changed a few isinstance(value, Decimal) to "is not None", where appropriate
Gaëtan de Menten [Sat, 28 Nov 2009 18:07:59 +0000 (18:07 +0000)] 
- changed a few isinstance(value, Decimal) to "is not None", where appropriate
- fixed result processor for Numeric(asdecimal=False) on MSSQL.

16 years ago- relation primaryjoin and secondaryjoin now check that they
Mike Bayer [Wed, 25 Nov 2009 17:34:25 +0000 (17:34 +0000)] 
- relation primaryjoin and secondaryjoin now check that they
are column-expressions, not just clause elements.  this prohibits
things like FROM expressions being placed there directly.
[ticket:1622]

16 years agotypo
Mike Bayer [Tue, 24 Nov 2009 23:26:47 +0000 (23:26 +0000)] 
typo

16 years agotest fails on zxjdbc
Mike Bayer [Tue, 24 Nov 2009 22:56:59 +0000 (22:56 +0000)] 
test fails on zxjdbc

16 years agoPrelookup codec in the String result processor for dialects which do not
Gaëtan de Menten [Mon, 23 Nov 2009 08:35:34 +0000 (08:35 +0000)] 
Prelookup codec in the String result processor for dialects which do not
return Unicode natively, as suggested in #1323. Provides a nice speed boost
(~21% total query time).

16 years agoadd NATIONAL CHAR test
Mike Bayer [Sun, 22 Nov 2009 22:21:08 +0000 (22:21 +0000)] 
add NATIONAL CHAR test

16 years ago- VARCHAR/NVARCHAR will not render without a length, raises
Mike Bayer [Sun, 22 Nov 2009 22:11:41 +0000 (22:11 +0000)] 
- VARCHAR/NVARCHAR will not render without a length, raises
an error before passing to MySQL.   Doesn't impact
CAST since VARCHAR is not allowed in MySQL CAST anyway,
the dialect renders CHAR/NCHAR in those cases.
[ticket:1252]

16 years agoadd an interesting from_statement() format
Mike Bayer [Sat, 21 Nov 2009 20:51:16 +0000 (20:51 +0000)] 
add an interesting from_statement() format

16 years agorevert part of the change of r6510 because "select datetime('now')" in SQLite
Gaëtan de Menten [Tue, 17 Nov 2009 19:38:09 +0000 (19:38 +0000)] 
revert part of the change of r6510 because "select datetime('now')" in SQLite
does not contain microseconds

16 years ago- sqlite
Gaëtan de Menten [Tue, 17 Nov 2009 18:35:06 +0000 (18:35 +0000)] 
- sqlite
    - DATE, TIME and DATETIME types can now take optional storage_format and
      regexp argument. storage_format can be used to store those types using
      a custom string format. regexp allows to use a custom regular expression
      to match string values from the database.
    - Time and DateTime types now use by a default a stricter regular
      expression to match strings from the database. Use the regexp argument
      if you are using data stored in a legacy format.
    - __legacy_microseconds__ on SQLite Time and DateTime types is not
      supported anymore. You should use the storage_format argument instead.
    - Date, Time and DateTime types are now stricter in what they accept as
      bind parameters: Date type only accepts date objects (and datetime ones,
      because they inherit from date), Time only accepts time objects, and
      DateTime only accepts date and datetime objects.

16 years agominor speed optimization in String result_processor (if decoding is required)
Gaëtan de Menten [Tue, 17 Nov 2009 18:28:13 +0000 (18:28 +0000)] 
minor speed optimization in String result_processor (if decoding is required)

16 years agominor speed optimization for PGArray bind & result processors
Gaëtan de Menten [Mon, 16 Nov 2009 15:50:25 +0000 (15:50 +0000)] 
minor speed optimization for PGArray bind & result processors

16 years ago- Fixed bug whereby composite columns wouldn't load properly
Mike Bayer [Sun, 15 Nov 2009 20:39:39 +0000 (20:39 +0000)] 
- Fixed bug whereby composite columns wouldn't load properly
when configured on a joined-table subclass, introduced in
version 0.5.6 as a result of the fix for [ticket:1480].
[ticket:1616] thx to Scott Torborg.

16 years agomerge r6504 from 0.5 plus an enhancement to the unit test, [ticket:1611]
Mike Bayer [Sun, 15 Nov 2009 20:22:57 +0000 (20:22 +0000)] 
merge r6504 from 0.5 plus an enhancement to the unit test, [ticket:1611]

16 years ago- Removed unused `load()` method from ShardedQuery.
Mike Bayer [Sun, 15 Nov 2009 19:50:55 +0000 (19:50 +0000)] 
- Removed unused `load()` method from ShardedQuery.
[ticket:1606]

16 years agostart relying on new unicode detection fully - remove isinstance() from the unicode...
Mike Bayer [Sun, 15 Nov 2009 19:46:54 +0000 (19:46 +0000)] 
start relying on new unicode detection fully - remove isinstance() from the unicode result processing.

16 years ago- pg8000 + postgresql dialects now check for float/numeric return
Mike Bayer [Sun, 15 Nov 2009 19:20:22 +0000 (19:20 +0000)] 
- pg8000 + postgresql dialects now check for float/numeric return
types to more intelligently determine float() vs. Decimal(),
[ticket:1567]
- since result processing is a hot issue of late, the DBAPI type
returned from cursor.description is certainly useful in cases like
these to determine an efficient result processor.   There's likely
other result processors that can make use of it.  But, backwards
incompat change to result_processor().  Happy major version number..

16 years agofix StaticPool [ticket:1615]
Mike Bayer [Thu, 12 Nov 2009 21:46:14 +0000 (21:46 +0000)] 
fix StaticPool [ticket:1615]

16 years agomerge r6497 of 0.5 branch
Mike Bayer [Wed, 11 Nov 2009 03:46:45 +0000 (03:46 +0000)] 
merge r6497 of 0.5 branch

16 years agoreduce some call overhead
Mike Bayer [Tue, 10 Nov 2009 23:15:39 +0000 (23:15 +0000)] 
reduce some call overhead

16 years agoscan for autocommit based on text() specific flag, saves isinstance() call on each...
Mike Bayer [Tue, 10 Nov 2009 22:59:59 +0000 (22:59 +0000)] 
scan for autocommit based on text() specific flag, saves isinstance() call on each execution.

16 years ago- new oursql dialect added. [ticket:1613]
Mike Bayer [Tue, 10 Nov 2009 22:39:42 +0000 (22:39 +0000)] 
- new oursql dialect added.  [ticket:1613]

16 years agodont run sqlsoup test on jython
Mike Bayer [Tue, 10 Nov 2009 00:48:06 +0000 (00:48 +0000)] 
dont run sqlsoup test on jython

16 years ago- subclassed Function off of new FunctionElement generic base
Mike Bayer [Tue, 10 Nov 2009 00:43:53 +0000 (00:43 +0000)] 
- subclassed Function off of new FunctionElement generic base
- removed "key" accessor of Function, Grouping - this doesn't seem to be used for anything
- various formatting
- documented the four "Element" classes in the compiler extension as per [ticket:1590]

16 years agotest fix, [ticket:1595]
Mike Bayer [Tue, 10 Nov 2009 00:10:11 +0000 (00:10 +0000)] 
test fix, [ticket:1595]

16 years ago- ForeignKey(constraint=some_parent) is now private _constraint
Mike Bayer [Mon, 9 Nov 2009 23:40:57 +0000 (23:40 +0000)] 
- ForeignKey(constraint=some_parent) is now private _constraint
- ForeignKey and ForeignKeyConstraint objects now correctly
copy() all their public keyword arguments.  [ticket:1605]

16 years ago- query.get() can be used with a mapping to an outer join
Mike Bayer [Mon, 9 Nov 2009 23:20:31 +0000 (23:20 +0000)] 
- query.get() can be used with a mapping to an outer join
where one or more of the primary key values are None.
[ticket:1135]

16 years agoadd test for map explicit Table
Mike Bayer [Mon, 9 Nov 2009 22:32:33 +0000 (22:32 +0000)] 
add test for map explicit Table

16 years ago- added a real unit test for sqlsoup
Mike Bayer [Mon, 9 Nov 2009 19:41:45 +0000 (19:41 +0000)] 
- added a real unit test for sqlsoup
- removed doctest stuff
- redid session docs for sqlsoup
- sqlsoup stays within the transaction of a Session now, is explcitly autocommit=False by default and includes commit()/rollback() methods
- sqlsoup db.<sometable>.update() and delete() now call
query(cls).update() and delete(), respectively.
- sqlsoup now has execute() and connection(), which call upon
the Session methods of those names, ensuring that the bind is
in terms of the SqlSoup object's bind.

16 years agomoved modified_event() calls below the attribute extension fires. this basically...
Mike Bayer [Sun, 8 Nov 2009 21:54:56 +0000 (21:54 +0000)] 
moved modified_event() calls below the attribute extension fires.  this basically has no difference in any case except that where an extension is calling commit() on the attribute -  in that case it usually, but not always, maintains the same history.   [ticket:1601]

16 years agoallow setattr() access to _CursorFairy directly, thereby removing the need for dialec...
Mike Bayer [Fri, 6 Nov 2009 15:51:06 +0000 (15:51 +0000)] 
allow setattr() access to _CursorFairy directly, thereby removing the need for dialects to guess whether they have a wrapped cursor or not, fixes #1609, regression from r6471

16 years agosupports unicode binds in PG too. even without the UNICODE extension it seems to...
Mike Bayer [Fri, 6 Nov 2009 02:39:16 +0000 (02:39 +0000)] 
supports unicode binds in PG too.  even without the UNICODE extension it seems to work now...

16 years agoWithin NamedTuple, izip is faster on most cases, and equally fast on others
Gaëtan de Menten [Thu, 5 Nov 2009 14:30:33 +0000 (14:30 +0000)] 
Within NamedTuple, izip is faster on most cases, and equally fast on others

16 years agouse list comprehension instead of generator as it is much faster for small
Gaëtan de Menten [Wed, 4 Nov 2009 20:22:00 +0000 (20:22 +0000)] 
use list comprehension instead of generator as it is much faster for small
lists, as will usually be the case here. provides a ~11% speedup for large
column-only queries.

16 years ago- Fixed bug in two-phase transaction whereby commit() method
Mike Bayer [Wed, 4 Nov 2009 17:15:36 +0000 (17:15 +0000)] 
- Fixed bug in two-phase transaction whereby commit() method
didn't set the full state which allows subsequent close()
call to succeed. [ticket:1603]

16 years ago- Fixed bug where Query would crash if a join() with no clear
Mike Bayer [Wed, 4 Nov 2009 13:27:59 +0000 (13:27 +0000)] 
- Fixed bug where Query would crash if a join() with no clear
"left" side were called when a non-mapped column entity
appeared in the columns list. [ticket:1602]

16 years agoUsing generators for small lists is highly inefficient. This change shoves
Gaëtan de Menten [Wed, 4 Nov 2009 13:19:47 +0000 (13:19 +0000)] 
Using generators for small lists is highly inefficient. This change shoves
6% of total time for large ORM queries. Not bad for a 2 characters change :)

16 years ago- simplify default schema name test
Mike Bayer [Tue, 3 Nov 2009 19:48:07 +0000 (19:48 +0000)] 
- simplify default schema name test
- MySQL + zxjdbc *is* unicode by default.  it was the broken initialize()

16 years agofix MySQL initialize to use defaultdialect first
Mike Bayer [Tue, 3 Nov 2009 19:05:58 +0000 (19:05 +0000)] 
fix MySQL initialize to use defaultdialect first

16 years ago- The "start" and "increment" attributes on Sequence now
Mike Bayer [Tue, 3 Nov 2009 18:33:57 +0000 (18:33 +0000)] 
- The "start" and "increment" attributes on Sequence now
generate "START WITH" and "INCREMENT BY" by default,
on Oracle and Postgresql.  Firebird doesn't support
these keywords right now.  [ticket:1545]

16 years ago- Connection pool logging now uses both INFO and DEBUG
Mike Bayer [Tue, 3 Nov 2009 17:52:02 +0000 (17:52 +0000)] 
- Connection pool logging now uses both INFO and DEBUG
log levels for logging.  INFO is for major events such
as invalidated connections, DEBUG for all the acquire/return
logging.  `echo_pool` can be False, None, True or "debug"
the same way as `echo` works.

16 years ago- dialect.get_default_schema_name(connection) is now
Mike Bayer [Tue, 3 Nov 2009 17:35:13 +0000 (17:35 +0000)] 
- dialect.get_default_schema_name(connection) is now
public via dialect.default_schema_name.
[ticket:1571]

16 years ago * tweaked PickleType result_processor and bind_processor so that they are more
Gaëtan de Menten [Tue, 3 Nov 2009 16:30:07 +0000 (16:30 +0000)] 
 * tweaked PickleType result_processor and bind_processor so that they are more
   correct and more easily maintainable.
 * implemented specific result_processor and bind_processor for Interval type
   to avoid TypeDecorator call overhead (closes #1598)

16 years agorewrote PickleType bind_processor and result_processors to bypass TypeDecorator
Gaëtan de Menten [Tue, 3 Nov 2009 15:52:57 +0000 (15:52 +0000)] 
rewrote PickleType bind_processor and result_processors to bypass TypeDecorator
call overhead and avoid pickler function lookup for each row (see #1598).
Provides a speedup of ~7 % on total query time for a 1000 record query on a
table with 1 PickeType field and 25% None values.

16 years ago- Fixed the call to get_committed_value() on CompositeProperty.
Mike Bayer [Tue, 3 Nov 2009 04:58:18 +0000 (04:58 +0000)] 
- Fixed the call to get_committed_value() on CompositeProperty.
[ticket:1504]

16 years agorevert r6466
Mike Bayer [Tue, 3 Nov 2009 04:57:09 +0000 (04:57 +0000)] 
revert r6466

16 years ago- Fixed the call to get_committed_value() on CompositeProperty.
Mike Bayer [Tue, 3 Nov 2009 04:54:56 +0000 (04:54 +0000)] 
- Fixed the call to get_committed_value() on CompositeProperty.
[ticket:1504]

16 years agoadded a test for #1349
Mike Bayer [Tue, 3 Nov 2009 04:30:18 +0000 (04:30 +0000)] 
added a test for #1349

16 years agoomit this test for non-oracle
Mike Bayer [Mon, 2 Nov 2009 03:07:13 +0000 (03:07 +0000)] 
omit this test for non-oracle

16 years agofix adapt() so that DB-specified typedecorator replacements work
Mike Bayer [Sun, 1 Nov 2009 23:28:44 +0000 (23:28 +0000)] 
fix adapt() so that DB-specified typedecorator replacements work

16 years ago- INTERVAL supports an optional "precision" argument
Mike Bayer [Sun, 1 Nov 2009 22:47:14 +0000 (22:47 +0000)] 
- INTERVAL supports an optional "precision" argument
corresponding to the argument that PG accepts.
- Added support for reflecting the INTERVAL YEAR TO MONTH
and INTERVAL DAY TO SECOND syntaxes of the INTERVAL
type.  [ticket:460]

16 years ago- filter out SYS_NC\d+$ columns [ticket:1513]
Mike Bayer [Sun, 1 Nov 2009 21:53:00 +0000 (21:53 +0000)] 
- filter out SYS_NC\d+$ columns [ticket:1513]
- remove explicit INNER JOIN from index query to support oracle 8

16 years agoadded test for [ticket:1450]
Mike Bayer [Sun, 1 Nov 2009 21:08:12 +0000 (21:08 +0000)] 
added test for [ticket:1450]

16 years agoadd "dialect" to the __all__ of each root dialect package
Mike Bayer [Sun, 1 Nov 2009 20:59:40 +0000 (20:59 +0000)] 
add "dialect" to the __all__ of each root dialect package

16 years ago- added py3k and "OS Independent" classifiers
Mike Bayer [Sun, 1 Nov 2009 20:48:03 +0000 (20:48 +0000)] 
- added py3k and "OS Independent" classifiers

16 years ago- the `__contains__()` method of `MetaData` now accepts
Mike Bayer [Sun, 1 Nov 2009 20:39:43 +0000 (20:39 +0000)] 
- the `__contains__()` method of `MetaData` now accepts
strings or `Table` objects as arguments.  If given
a `Table`, the argument is converted to `table.key` first,
i.e. "[schemaname.]<tablename>" [ticket:1541]

16 years agoget more speed out of the Time type on Mysql
Gaëtan de Menten [Fri, 30 Oct 2009 11:37:26 +0000 (11:37 +0000)] 
get more speed out of the Time type on Mysql

16 years agoget a bit more speed out of datetime and LOB-based types on cx_oracle
Gaëtan de Menten [Fri, 30 Oct 2009 11:09:45 +0000 (11:09 +0000)] 
get a bit more speed out of datetime and LOB-based types on cx_oracle

16 years agoadded comment so that other people don't spend their time trying to optimize
Gaëtan de Menten [Fri, 30 Oct 2009 10:28:43 +0000 (10:28 +0000)] 
added comment so that other people don't spend their time trying to optimize
optimal code

16 years agominor speed improvement on date, datetime and time types on SQLite
Gaëtan de Menten [Fri, 30 Oct 2009 10:20:19 +0000 (10:20 +0000)] 
minor speed improvement on date, datetime and time types on SQLite

16 years agolarge speed improvement of the Interval type on non-native dialects
Gaëtan de Menten [Thu, 29 Oct 2009 21:24:33 +0000 (21:24 +0000)] 
large speed improvement of the Interval type on non-native dialects

16 years agoslightly sped-up Binary type, PickleType and all TypeDecorators
Gaëtan de Menten [Thu, 29 Oct 2009 20:41:16 +0000 (20:41 +0000)] 
slightly sped-up Binary type, PickleType and all TypeDecorators

16 years agoadded docs to case() illusrtating usage of `literal_column()`, can't implement #809...
Mike Bayer [Wed, 28 Oct 2009 15:46:51 +0000 (15:46 +0000)] 
added docs to case() illusrtating usage of `literal_column()`, can't implement #809 directly

16 years agopartially PEP8-ified informix dialect
Gaëtan de Menten [Tue, 27 Oct 2009 09:25:13 +0000 (09:25 +0000)] 
partially PEP8-ified informix dialect

16 years agono native unicode for mysql + zxjdbc
Mike Bayer [Mon, 26 Oct 2009 18:52:12 +0000 (18:52 +0000)] 
no native unicode for mysql + zxjdbc

16 years agowhats up with the native_unicode test on jython
Mike Bayer [Mon, 26 Oct 2009 18:23:20 +0000 (18:23 +0000)] 
whats up with the native_unicode test on jython

16 years agotest fixes
Mike Bayer [Mon, 26 Oct 2009 01:29:56 +0000 (01:29 +0000)] 
test fixes

16 years agooracle test fixes
Mike Bayer [Mon, 26 Oct 2009 01:20:38 +0000 (01:20 +0000)] 
oracle test fixes

16 years ago- The psycopg2 dialect now uses psycopg2's "unicode extension"
Mike Bayer [Mon, 26 Oct 2009 00:32:39 +0000 (00:32 +0000)] 
- The psycopg2 dialect now uses psycopg2's "unicode extension"
on all new connections, which allows all String/Text/etc.
types to skip the need to post-process bytestrings into
unicode (an expensive step due to its volume).  Other
dialects which return unicode natively (pg8000, zxjdbc)
also skip unicode post-processing.

- String/Text/Unicode types now skip the unicode() check
on each result column value if the dialect has
detected the DBAPI as returning Python unicode objects
natively.  This check is issued on first connect
using "SELECT CAST 'some text' AS VARCHAR(10)" or
equivalent, then checking if the returned object
is a Python unicode.   This allows vast performance
increases for native-unicode DBAPIs, including
pysqlite/sqlite3, psycopg2, and pg8000.

16 years ago- generalized Enum to issue a CHECK constraint + VARCHAR on default platform
Mike Bayer [Sun, 25 Oct 2009 21:27:08 +0000 (21:27 +0000)] 
- generalized Enum to issue a CHECK constraint + VARCHAR on default platform
- added native_enum=False flag to do the same on MySQL, PG, if desired

16 years agowell great nobody even supports PG enum.
Mike Bayer [Sun, 25 Oct 2009 16:50:09 +0000 (16:50 +0000)] 
well great nobody even supports PG enum.

16 years ago- Using a "dynamic" loader with a "secondary" table now produces
Mike Bayer [Sun, 25 Oct 2009 16:31:54 +0000 (16:31 +0000)] 
- Using a "dynamic" loader with a "secondary" table now produces
a query where the "secondary" table is *not* aliased.  This
allows the secondary Table object to be used in the "order_by"
attribute of the relation(), and also allows it to be used
in filter criterion against the dynamic relation.
[ticket:1531]

- a "dynamic" loader sets up its query criterion at construction
time so that the actual query is returned from non-cloning
accessors like "statement".

16 years agofix errant 2.6ism
Mike Bayer [Sun, 25 Oct 2009 14:58:21 +0000 (14:58 +0000)] 
fix errant 2.6ism

16 years ago- Fixed a slight inaccuracy in the sharding example.
Mike Bayer [Sun, 25 Oct 2009 01:40:23 +0000 (01:40 +0000)] 
- Fixed a slight inaccuracy in the sharding example.
Comparing equivalence of columns in the ORM is best
accomplished using col1.shares_lineage(col2).
[ticket:1491]

16 years ago- Added new ENUM type to the Postgresql dialect, which exists as a schema-level
Mike Bayer [Sun, 25 Oct 2009 00:40:34 +0000 (00:40 +0000)] 
- Added new ENUM type to the Postgresql dialect, which exists as a schema-level
construct and extends the generic Enum type.  Automatically
associates itself with tables and their parent metadata
to issue the appropriate CREATE TYPE/DROP TYPE
commands as needed, supports unicode labels, supports
reflection.  [ticket:1511]

- MySQL ENUM now subclasses the new generic Enum type, and also handles
unicode values implicitly, if the given labelnames are unicode
objects.

- Added a new Enum generic type, currently supported on
Postgresql and MySQL.  Enum is a schema-aware object
to support databases which require specific DDL in
order to use enum or equivalent; in the case of PG
it handles the details of `CREATE TYPE`, and on
other databases without native enum support can
support generation of CHECK constraints.
[ticket:1109] [ticket:1511]

- types documentation updates

- some cleanup on schema/expression docs

16 years ago- apply ged's suggested optimization of not needlessly wrapping mapper._instance_proc...
Mike Bayer [Sat, 24 Oct 2009 20:58:21 +0000 (20:58 +0000)] 
- apply ged's suggested optimization of not needlessly wrapping mapper._instance_processor
- start playing with semi-automated 78-col wrapping

16 years agofix some 2.4 callcounts
Mike Bayer [Sat, 24 Oct 2009 20:36:44 +0000 (20:36 +0000)] 
fix some 2.4 callcounts

16 years ago- ResultProxy internals have been overhauled to greatly reduce
Mike Bayer [Sat, 24 Oct 2009 16:38:07 +0000 (16:38 +0000)] 
- ResultProxy internals have been overhauled to greatly reduce
method call counts when fetching columns that have no
type-level processing applied.   Provides a 100% speed
improvement when fetching large result sets with no unicode
conversion.  Many thanks to Elixir's Gaëtan de Menten
for this dramatic improvement !  [ticket:1586]

16 years agoupdate counts for 2.4
Mike Bayer [Fri, 23 Oct 2009 21:30:02 +0000 (21:30 +0000)] 
update counts for 2.4

16 years ago- Mutable collection passed to the "extension" attribute
Mike Bayer [Fri, 23 Oct 2009 19:46:58 +0000 (19:46 +0000)] 
- Mutable collection passed to the "extension" attribute
of relation(), column_property() etc. will not be mutated
or shared among multiple instrumentation calls, preventing
duplicate extensions, such as backref populators,
from being inserted into the list.
[ticket:1585]

16 years ago - insert() and update() constructs can now embed bindparam()
Mike Bayer [Fri, 23 Oct 2009 01:08:02 +0000 (01:08 +0000)] 
- insert() and update() constructs can now embed bindparam()
      objects using names that match the keys of columns.  These
      bind parameters will circumvent the usual route to those
      keys showing up in the VALUES or SET clause of the generated
      SQL. [ticket:1579]

16 years agoRemoved references to sequence in MSSQL
Michael Trier [Thu, 22 Oct 2009 03:29:52 +0000 (03:29 +0000)] 
Removed references to sequence in MSSQL

Implicit identities in mssql work the same as implicit sequences on any
other dialects. Explicit sequences are enabled through the use of
"default=Sequence()". See the MSSQL dialect documentation for more
information.

16 years ago- RETURNING is supported by 8.2+
Mike Bayer [Wed, 21 Oct 2009 16:33:04 +0000 (16:33 +0000)] 
- RETURNING is supported by 8.2+
- add docs for PG delete..returning

16 years ago- Corrected the "has_sequence" query to take current schema,
Mike Bayer [Wed, 21 Oct 2009 04:47:02 +0000 (04:47 +0000)] 
- Corrected the "has_sequence" query to take current schema,
or explicit sequence-stated schema, into account.
[ticket:1576]

16 years agosome cleanup
Mike Bayer [Wed, 21 Oct 2009 04:45:29 +0000 (04:45 +0000)] 
some cleanup

16 years agomerged scopefunc patch from r6420 of 0.5 branch
Mike Bayer [Tue, 20 Oct 2009 17:33:33 +0000 (17:33 +0000)] 
merged scopefunc patch from r6420 of 0.5 branch

16 years agomerge r6418 from 0.5, dedupe expressions on clause ident, not string value
Mike Bayer [Tue, 20 Oct 2009 17:12:58 +0000 (17:12 +0000)] 
merge r6418 from 0.5, dedupe expressions on clause ident, not string value
[ticket:1574]

16 years agomerged r6416 of 0.5 branch, fix the "numeric" paramstyle and add tests
Mike Bayer [Tue, 20 Oct 2009 16:19:54 +0000 (16:19 +0000)] 
merged r6416 of 0.5 branch, fix the "numeric" paramstyle and add tests

16 years agoFix reST markup
Lele Gaifax [Mon, 19 Oct 2009 08:39:36 +0000 (08:39 +0000)] 
Fix reST markup

16 years agoModernise doc about returning() support
Lele Gaifax [Mon, 19 Oct 2009 08:00:55 +0000 (08:00 +0000)] 
Modernise doc about returning() support

16 years agoattempt to fix some jython ordering annoyingness
Mike Bayer [Sun, 18 Oct 2009 22:50:14 +0000 (22:50 +0000)] 
attempt to fix some jython ordering annoyingness

16 years ago- the behavior of eagerloading such that the main query is
Mike Bayer [Sun, 18 Oct 2009 21:59:54 +0000 (21:59 +0000)] 
- the behavior of eagerloading such that the main query is
wrapped in a subquery when LIMIT/OFFSET are present now
makes an exception for the case when all eager loads are
many-to-one joins. In those cases, the eager joins are
against the parent table directly along with the
limit/offset without the extra overhead of a subquery,
since a many-to-one join does not add rows to the result.

16 years ago- added a flag to relation(), eagerload(), and eagerload_all()
Mike Bayer [Sun, 18 Oct 2009 20:28:19 +0000 (20:28 +0000)] 
- added a flag to relation(), eagerload(), and eagerload_all()
called 'innerjoin'.  Specify `True` or `False` to control
whether an eager join is constructed as an INNER or OUTER
join.   Default is `False` as always.   The mapper options
will override whichever setting is specified on relation().
Should generally be set for many-to-one, not nullable
foreign key relations to allow improved join performance.
[ticket:1544]

16 years ago- initial MySQL Connector/Python driver
Mike Bayer [Sun, 18 Oct 2009 16:48:46 +0000 (16:48 +0000)] 
- initial MySQL Connector/Python driver
- support exceptions raised in dialect initialize phase
- provide default dialect create_connect_args() method