]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
13 years agomake the comparable_property() example somewhat meaningful rel_0_7_4
Mike Bayer [Fri, 9 Dec 2011 22:15:02 +0000 (17:15 -0500)] 
make the comparable_property() example somewhat meaningful

13 years ago- 0.7.4 prep
Mike Bayer [Fri, 9 Dec 2011 21:57:57 +0000 (16:57 -0500)] 
- 0.7.4 prep

13 years agoshould refer to Mapper class here
Mike Bayer [Fri, 9 Dec 2011 21:57:29 +0000 (16:57 -0500)] 
should refer to Mapper class here

13 years agoadd autoincrement directive for oracle
Mike Bayer [Fri, 9 Dec 2011 21:28:55 +0000 (16:28 -0500)] 
add autoincrement directive for oracle

13 years ago- Standalone expressions in polymorphic_on
Mike Bayer [Fri, 9 Dec 2011 16:12:41 +0000 (11:12 -0500)] 
- Standalone expressions in polymorphic_on
propagate to single-table inheritance
subclasses so that they are used in the
WHERE /JOIN clause to limit rows to that
subclass as is the usual behavior.
- make sure implicit map to polymorphic_on expr
handles creating a label().  Use an explicit name
here as _sa_polymorphic_on makes more sense when
poking around in _props.

13 years ago- [feature] polymorphic_on now accepts many
Mike Bayer [Fri, 9 Dec 2011 05:56:12 +0000 (00:56 -0500)] 
- [feature] polymorphic_on now accepts many
new kinds of values:

- standalone expressions that aren't
otherwise mapped
- column_property() objects
- string names of any column_property()
or attribute name of a mapped Column

The docs include an example using
the case() construct, which is likely to be
a common constructed used here.
[ticket:2345] and part of [ticket:2238]

13 years agocallcount
Mike Bayer [Wed, 7 Dec 2011 20:14:46 +0000 (15:14 -0500)] 
callcount

13 years ago- [bug] Fixed bug in get_history() when referring
Mike Bayer [Wed, 7 Dec 2011 18:24:11 +0000 (13:24 -0500)] 
- [bug] Fixed bug in get_history() when referring
to a composite attribute that has no value;
added coverage for get_history() regarding
composites which is otherwise just a userland
function.

13 years agotests for FK/autoincrement selection
Mike Bayer [Wed, 7 Dec 2011 03:00:35 +0000 (22:00 -0500)] 
tests for FK/autoincrement selection

13 years ago- doc updates per [ticket:2251]
Mike Bayer [Wed, 7 Dec 2011 01:59:04 +0000 (20:59 -0500)] 
- doc updates per [ticket:2251]
- [feature] Added new value for Column autoincrement
called "ignore_fk", can be used to force autoincrement
on a column that's still part of a ForeignKeyConstraint.
New example in the relationship docs illustrates
its use.

13 years ago- enable SAVEPOINT support fully, remove warning, [ticket:822].
Mike Bayer [Tue, 6 Dec 2011 22:41:19 +0000 (17:41 -0500)] 
- enable SAVEPOINT support fully, remove warning, [ticket:822].
It's not known what the potential "data loss" issues are, tests seem to pass.

13 years ago- [bug] Decode incoming values when retrieving
Mike Bayer [Tue, 6 Dec 2011 21:31:52 +0000 (16:31 -0500)] 
- [bug] Decode incoming values when retrieving
list of index names and the names of columns
within those indexes.  [ticket:2269]
- rewrite unicode reflection test to be of more general use on
broken backends

13 years ago- [bug] don't cast "table name" as NVARCHAR
Mike Bayer [Tue, 6 Dec 2011 20:35:06 +0000 (15:35 -0500)] 
- [bug] don't cast "table name" as NVARCHAR
on SQL Server 2000.  Still mostly in the dark
what incantations are needed to make PyODBC
work fully with FreeTDS 0.91 here, however.
[ticket:2343]

13 years agoadd docs regarding flags only working with setuptools/distribute, [ticket:2341]
Mike Bayer [Tue, 6 Dec 2011 19:28:54 +0000 (14:28 -0500)] 
add docs regarding flags only working with setuptools/distribute, [ticket:2341]

13 years ago- [feature] IdentitySet supports the - operator
Mike Bayer [Tue, 6 Dec 2011 18:22:59 +0000 (13:22 -0500)] 
- [feature] IdentitySet supports the - operator
as the same as difference(), handy when dealing
with Session.dirty etc. [ticket:2301]

13 years agoadd missing "data" column from association example, [ticket:2259]
Mike Bayer [Tue, 6 Dec 2011 18:06:30 +0000 (13:06 -0500)] 
add missing "data" column from association example, [ticket:2259]

13 years ago- [bug] the @compiles decorator raises an
Mike Bayer [Tue, 6 Dec 2011 17:49:39 +0000 (12:49 -0500)] 
- [bug] the @compiles decorator raises an
informative error message when no "default"
compilation handler is present, rather
than KeyError.

13 years agofix typo, [ticket:2232]
Mike Bayer [Tue, 6 Dec 2011 17:43:16 +0000 (12:43 -0500)] 
fix typo, [ticket:2232]

13 years agoadd BEGIN workaround to pysqlite docs, [ticket:2219]
Mike Bayer [Tue, 6 Dec 2011 17:41:01 +0000 (12:41 -0500)] 
add BEGIN workaround to pysqlite docs, [ticket:2219]

13 years agoupdate pyodbc/SQL server connection strings, [ticket:2217]
Mike Bayer [Tue, 6 Dec 2011 17:25:36 +0000 (12:25 -0500)] 
update pyodbc/SQL server connection strings, [ticket:2217]

13 years agoupdate delete-orphan cascade docs per [ticket:2332]
Mike Bayer [Tue, 6 Dec 2011 17:15:06 +0000 (12:15 -0500)] 
update delete-orphan cascade docs per [ticket:2332]

13 years agoupdate query.update(), query.delete(), sessionevents.after_bulk_update(), sessioneven...
Mike Bayer [Tue, 6 Dec 2011 16:53:49 +0000 (11:53 -0500)] 
update query.update(), query.delete(), sessionevents.after_bulk_update(), sessionevents.after_bulk_delete() docstirngs, [ticket:2324]

13 years agorefine this a bit
Mike Bayer [Mon, 5 Dec 2011 22:25:53 +0000 (17:25 -0500)] 
refine this a bit

13 years ago- [feature] Added an example to the hybrid docs
Mike Bayer [Mon, 5 Dec 2011 22:06:15 +0000 (17:06 -0500)] 
- [feature] Added an example to the hybrid docs
of a "transformer" - a hybrid that returns a
query-transforming callable in combination
with a custom comparator.   Uses a new method
on Query called with_transformation().  The use
case here is fairly experimental, but only
adds one line of code to Query.

13 years agomarathon doc updating session including a rewrite of unicode paragraphs
Mike Bayer [Mon, 5 Dec 2011 04:08:35 +0000 (23:08 -0500)] 
marathon doc updating session including a rewrite of unicode paragraphs

13 years ago- update docs to declarative [ticket:2323]
Mike Bayer [Sun, 4 Dec 2011 21:58:14 +0000 (16:58 -0500)] 
- update docs to declarative [ticket:2323]

13 years ago- [bug] Updated warning message when setting
Mike Bayer [Sun, 4 Dec 2011 21:23:55 +0000 (16:23 -0500)] 
- [bug] Updated warning message when setting
delete-orphan without delete to no longer
refer to 0.6, as we never got around to
upgrading this to an exception.  Ideally
this might be better as an exception but
it's not critical either way.  [ticket:2325]
- add new test suite to test_cascades for cascade
arguments

13 years ago- reflection process always resets the primary key constraint
Mike Bayer [Sun, 4 Dec 2011 20:57:08 +0000 (15:57 -0500)] 
- reflection process always resets the primary key constraint
first, fixes extend_existing

13 years ago-re-document the is_modified method, and place significant caveats
Mike Bayer [Sun, 4 Dec 2011 20:47:13 +0000 (15:47 -0500)] 
-re-document the is_modified method, and place significant caveats
about the "passive" flag which is now known to be wrong.  Add
new is_modified tests illustrating the passive flag.
[ticket:2320]

13 years ago- [bug] __table_args__ can now be passed as
Mike Bayer [Sun, 4 Dec 2011 19:28:57 +0000 (14:28 -0500)] 
- [bug] __table_args__ can now be passed as
an empty tuple as well as an empty dict.
[ticket:2339].  Thanks to Fayaz Yusuf Khan
for the patch.

13 years ago- [bug] Fixed bug whereby transaction.rollback()
Mike Bayer [Sun, 4 Dec 2011 19:25:00 +0000 (14:25 -0500)] 
- [bug] Fixed bug whereby transaction.rollback()
would throw an error on an invalidated
connection if the transaction were a
two-phase or savepoint transaction.
For plain transactions, rollback() is a no-op
if the connection is invalidated, so while
it wasn't 100% clear if it should be a no-op,
at least now the interface is consistent.
[ticket:2317]

13 years ago- [feature] The "extend_existing" flag on Table
Mike Bayer [Sun, 4 Dec 2011 19:16:42 +0000 (14:16 -0500)] 
- [feature] The "extend_existing" flag on Table
now allows for the reflection process to take
effect for a Table object that's already been
defined; when autoload=True and extend_existing=True
are both set, the full set of columns will be
reflected from the Table which will then
*overwrite* those columns already present,
rather than no activity occurring.  Columns that
are present directly in the autoload run
will be used as always, however.
[ticket:1410]

13 years ago- [bug] the "name" of a column-level CHECK constraint,
Mike Bayer [Sun, 4 Dec 2011 18:46:45 +0000 (13:46 -0500)] 
- [bug] the "name" of a column-level CHECK constraint,
if present, is now rendered in the CREATE TABLE
statement using "CONSTRAINT <name> CHECK <expression>".
[ticket:2305]

13 years ago- [bug] pyodbc-based dialects now parse the
Mike Bayer [Sun, 4 Dec 2011 18:29:29 +0000 (13:29 -0500)] 
- [bug] pyodbc-based dialects now parse the
pyodbc accurately as far as observed
pyodbc strings, including such gems
as "py3-3.0.1-beta4" [ticket:2318]
- [bug] use new pyodbc version detection for
_need_decimal_fix option, [ticket:2318]

13 years agosome call count reduction
Mike Bayer [Sun, 4 Dec 2011 01:59:56 +0000 (20:59 -0500)] 
some call count reduction

13 years ago- [bug] Calls to query.join() to a single-table
Mike Bayer [Sun, 4 Dec 2011 01:57:27 +0000 (20:57 -0500)] 
- [bug] Calls to query.join() to a single-table
inheritance subclass are now tracked, and
are used to eliminate the additional WHERE..
IN criterion normally tacked on with single
table inheritance, since the join should
accommodate it.  This allows OUTER JOIN
to a single table subclass to produce
the correct results, and overall will produce
fewer WHERE criterion when dealing with
single table inheritance joins.
[ticket:2328]

13 years ago- [bug] Fixed the error formatting raised when
Mike Bayer [Sun, 4 Dec 2011 01:09:27 +0000 (20:09 -0500)] 
- [bug] Fixed the error formatting raised when
a tuple is inadvertently passed to session.query()
[ticket:2297].

13 years ago- [bug] repaired the with_hint() feature which
Mike Bayer [Sun, 4 Dec 2011 01:04:55 +0000 (20:04 -0500)] 
- [bug] repaired the with_hint() feature which
wasn't implemented correctly on MSSQL -
usually used for the "WITH (NOLOCK)" hint
(which you shouldn't be using anyway !
use snapshot isolation instead :) )
[ticket:2336]

13 years ago- [bug] Fixed bug whereby column_property() created
Mike Bayer [Sun, 4 Dec 2011 00:50:01 +0000 (19:50 -0500)] 
- [bug] Fixed bug whereby column_property() created
against ORM-level column could be treated as
a distinct entity when producing certain
kinds of joined-inh joins.  [ticket:2316]

- [bug] related to [ticket:2316], made some
adjustments to the change from [ticket:2261]
regarding the "from" list on a select(). The
_froms collection is no longer memoized, as this
simplifies various use cases and removes the
need for a "warning" if a column is attached
to a table after it was already used in an
expression - the select() construct will now
always produce the correct expression.
There's probably no real-world
performance hit here; select() objects are
almost always made ad-hoc, and systems that
wish to optimize the re-use of a select()
would be using the "compiled_cache" feature.
A hit which would occur when calling select.bind
has been reduced, but the vast majority
of users shouldn't be using "bound metadata"
anyway :).

13 years agoadd supported implementations
Mike Bayer [Sat, 3 Dec 2011 17:39:41 +0000 (12:39 -0500)] 
add supported implementations

13 years ago- [bug] Fixed bug whereby "order_by='foreign_key'"
Mike Bayer [Thu, 1 Dec 2011 19:21:43 +0000 (14:21 -0500)] 
- [bug] Fixed bug whereby "order_by='foreign_key'"
option to Inspector.get_table_names
wasn't implementing the sort properly, replaced
with the existing sort algorithm
- clean up metadata usage in reflection tests

13 years agore-merge typos
Mike Bayer [Wed, 30 Nov 2011 04:22:17 +0000 (23:22 -0500)] 
re-merge typos

13 years agoemergency rewrite of the psycopg2 unicode section
Mike Bayer [Wed, 30 Nov 2011 04:21:44 +0000 (23:21 -0500)] 
emergency rewrite of the psycopg2 unicode section

13 years agotypos
Diana Clarke [Wed, 30 Nov 2011 03:42:39 +0000 (22:42 -0500)] 
typos

13 years ago- [feature] Added create_type constructor argument
Mike Bayer [Tue, 29 Nov 2011 03:28:28 +0000 (22:28 -0500)] 
- [feature] Added create_type constructor argument
to pg.ENUM.  When False, no CREATE/DROP or
checking for the type will be performed as part
of a table create/drop event; only the
create()/drop)() methods called directly
will do this.  Helps with Alembic "offline"
scripts.

13 years ago- [bug] Fixed bug whereby TypeDecorator would
Mike Bayer [Mon, 28 Nov 2011 17:44:56 +0000 (12:44 -0500)] 
- [bug] Fixed bug whereby TypeDecorator would
return a stale value for _type_affinity, when
using a TypeDecorator that "switches" types,
like the CHAR/UUID type.

13 years agofix typo [ticket:2334]
Mike Bayer [Sat, 26 Nov 2011 18:17:21 +0000 (13:17 -0500)] 
fix typo [ticket:2334]

13 years agocontinue removing misleading/old sections, fix things that are just wrong
Mike Bayer [Sat, 26 Nov 2011 18:16:47 +0000 (13:16 -0500)] 
continue removing misleading/old sections, fix things that are just wrong

13 years agomore fixes, more coming
Mike Bayer [Sat, 26 Nov 2011 16:32:40 +0000 (11:32 -0500)] 
more fixes, more coming

13 years ago- shorten classical mapping, remove some not very clear things
Mike Bayer [Sat, 26 Nov 2011 06:26:22 +0000 (01:26 -0500)] 
- shorten classical mapping, remove some not very clear things
- separate the "prefix" thing

13 years agosome more ignores
Mike Bayer [Fri, 25 Nov 2011 22:00:19 +0000 (17:00 -0500)] 
some more ignores

13 years agodoc styling rework
Mike Bayer [Fri, 25 Nov 2011 21:17:16 +0000 (16:17 -0500)] 
doc styling rework

13 years ago- doc updates in loading
Mike Bayer [Thu, 24 Nov 2011 15:47:10 +0000 (10:47 -0500)] 
- doc updates in loading
- de-emphasize contains_alias() which is pretty much a non-use case
- add docs for immediateload which have been missing all this time
- fix links, formatting

13 years agocall the simply police
Mike Bayer [Wed, 23 Nov 2011 00:01:21 +0000 (19:01 -0500)] 
call the simply police

13 years agoalso add support for onupdate as we'd like this to fire off if an UPDATE actually
Mike Bayer [Tue, 22 Nov 2011 23:46:45 +0000 (18:46 -0500)] 
also add support for onupdate as we'd like this to fire off if an UPDATE actually
happens on the table

13 years agochangelog
Mike Bayer [Tue, 22 Nov 2011 23:15:51 +0000 (18:15 -0500)] 
changelog

13 years agomerge tip
Mike Bayer [Tue, 22 Nov 2011 23:05:20 +0000 (18:05 -0500)] 
merge tip

13 years agofixes to actually get tests to pass
Mike Bayer [Tue, 22 Nov 2011 23:05:05 +0000 (18:05 -0500)] 
fixes to actually get tests to pass

13 years ago- commit the unit tests
Mike Bayer [Tue, 22 Nov 2011 22:27:35 +0000 (17:27 -0500)] 
- commit the unit tests
- lots of doc updates to all three of update/insert/delete

13 years agotypo
Mike Bayer [Tue, 22 Nov 2011 19:47:31 +0000 (14:47 -0500)] 
typo

13 years agocleanup
Mike Bayer [Tue, 22 Nov 2011 03:10:49 +0000 (22:10 -0500)] 
cleanup

13 years agopasses for all three, includes multi col system with mysql
Mike Bayer [Tue, 22 Nov 2011 03:00:50 +0000 (22:00 -0500)] 
passes for all three, includes multi col system with mysql

13 years agosort of muscling this out, mysql a PITA
Mike Bayer [Tue, 22 Nov 2011 01:40:31 +0000 (20:40 -0500)] 
sort of muscling this out, mysql a PITA

13 years ago- [bug] further tweak to the fix from [ticket:2261],
Mike Bayer [Sun, 20 Nov 2011 04:28:01 +0000 (23:28 -0500)] 
- [bug] further tweak to the fix from [ticket:2261],
so that generative methods work a bit better
off of cloned (this is almost a non-use case though).
In particular this allows with_only_columns()
to behave more consistently.   Added additional
documentation to with_only_columns() to clarify
expected behavior, which changed as a result
of [ticket:2261].  [ticket:2319]
- document the crap out of with_only_columns, include caveats about
the change, etc.

13 years ago- clarify the purpose of "timezone", alleviate confusion in [ticket:2326]
Mike Bayer [Tue, 15 Nov 2011 00:24:08 +0000 (19:24 -0500)] 
- clarify the purpose of "timezone", alleviate confusion in [ticket:2326]

13 years ago- add tests to try to find the case that [ticket:2221] is looking for.
Mike Bayer [Sun, 13 Nov 2011 19:30:04 +0000 (14:30 -0500)] 
- add tests to try to find the case that [ticket:2221] is looking for.
So far, can't find a test where removing that check makes things better.
Easy to find tests where removing it makes things worse.

13 years ago- [bug] Unicode adjustments allow latest pymysql
Mike Bayer [Wed, 2 Nov 2011 16:34:55 +0000 (12:34 -0400)] 
- [bug] Unicode adjustments allow latest pymysql
(post 0.4) to pass 100% on Python 2.

13 years agofix this for PG, other on update cascade DBs
Mike Bayer [Sun, 30 Oct 2011 19:31:03 +0000 (15:31 -0400)] 
fix this for PG, other on update cascade DBs

13 years ago- attribute system gets a pop() method.
Mike Bayer [Sun, 30 Oct 2011 19:10:56 +0000 (15:10 -0400)] 
- attribute system gets a pop() method.
- remove() on a scalar object will raise if the object
removed is not what was present.
- InstanceState can be pickled if obj() is None; this
to support the other changes in this commit
- only use trackparent flag on attributes if
single_parent or ONETOMANY; otherwise we can skip this
overhead
- attribute hasparent()/sethasparent() check that trackparent
is set, else their usage is invalid
- [bug] Fixed backref behavior when "popping" the
value off of a many-to-one in response to
a removal from a stale one-to-many - the operation
is skipped, since the many-to-one has since
been updated.  [ticket:2315]

- [bug] After some years of not doing this, added
more granularity to the "is X a parent of Y"
functionality, which is used when determining
if the FK on "Y" needs to be "nulled out" as well
as if "Y" should be deleted with delete-orphan
cascade.   The test now takes into account the
Python identity of the parent as well its identity
key, to see if the last known parent of Y is
definitely X.   If a decision
can't be made, a StaleDataError is raised.  The
conditions where this error is raised are fairly
rare, requiring that the previous parent was
garbage collected, and previously
could very well inappropriately update/delete
a record that's since moved onto a new parent,
though there may be some cases where
"silent success" occurred previously that will now
raise in the face of ambiguity.
Expiring "Y" resets the "parent" tracker, meaning
X.remove(Y) could then end up deleting Y even
if X is stale, but this is the same behavior
as before; it's advised to expire X also in that
case.  [ticket:2264]

13 years ago- [bug] Postgresql dialect memoizes that an ENUM of a
Mike Bayer [Sat, 29 Oct 2011 21:38:56 +0000 (17:38 -0400)] 
- [bug] Postgresql dialect memoizes that an ENUM of a
particular name was processed
during a create/drop sequence.  This allows
a create/drop sequence to work without any
calls to "checkfirst", and also means with
"checkfirst" turned on it only needs to
check for the ENUM once.  [ticket:2311]

13 years ago- [bug] Fixed bug whereby a subclass of a subclass
Mike Bayer [Fri, 28 Oct 2011 21:46:28 +0000 (17:46 -0400)] 
- [bug] Fixed bug whereby a subclass of a subclass
using concrete inheritance in conjunction with
the new ConcreteBase or AbstractConcreteBase
would fail to apply the subclasses deeper than
one level to the "polymorphic loader" of each
base  [ticket:2312]

- [bug] Fixed bug whereby a subclass of a subclass
using the new AbstractConcreteBase would fail
to acquire the correct "base_mapper" attribute
when the "base" mapper was generated, thereby
causing failures later on.  [ticket:2312]

13 years ago- [bug] fixed inappropriate evaluation of user-mapped
Mike Bayer [Fri, 28 Oct 2011 15:53:32 +0000 (11:53 -0400)] 
- [bug] fixed inappropriate evaluation of user-mapped
object in a boolean context within query.get()
[ticket:2310].

13 years ago- [bug] the value of a composite attribute is now
Mike Bayer [Wed, 26 Oct 2011 16:41:18 +0000 (12:41 -0400)] 
- [bug] the value of a composite attribute is now
expired after an insert or update operation, instead
of regenerated in place.  This ensures that a
column value which is expired within a flush
will be loaded first, before the composite
is regenerated using that value.  [ticket:2309]

- [bug] The fix in [ticket:2309] also emits the
"refresh" event when the composite value is
loaded on access, even if all column
values were already present, as is appropriate.
This fixes the "mutable" extension which relies
upon the "load" event to ensure the _parents
dictionary is up to date, fixes [ticket:2308].
Thanks to Scott Torborg for the test case here.

13 years ago - [feature] Added new support for remote "schemas":
Mike Bayer [Sun, 23 Oct 2011 20:57:48 +0000 (16:57 -0400)] 
  - [feature] Added new support for remote "schemas":
    - MetaData() accepts "schema" and "quote_schema"
      arguments, which will be applied to the same-named
      arguments of a Table
      or Sequence which leaves these at their default
      of ``None``.
    - Sequence accepts "quote_schema" argument
    - tometadata() for Table will use the "schema"
      of the incoming MetaData for the new Table
      if the schema argument is explicitly "None"
    - Added CreateSchema and DropSchema DDL
      constructs - these accept just the string
      name of a schema and a "quote" flag.
    - When using default "schema" with MetaData,
      ForeignKey will also assume the "default" schema
      when locating remote table.  This allows the "schema"
      argument on MetaData to be applied to any
      set of Table objects that otherwise don't have
      a "schema".
    - a "has_schema" method has been implemented
      on dialect, but only works on Postgresql so far.
    Courtesy Manlio Perillo, [ticket:1679]

13 years agofix the 2to3 here, again
Mike Bayer [Sun, 23 Oct 2011 19:49:39 +0000 (15:49 -0400)] 
fix the 2to3 here, again

13 years agoBacked out changeset 8ef278ec7557a5b3446807e9bc16624630ffd034
Mike Bayer [Sun, 23 Oct 2011 19:48:51 +0000 (15:48 -0400)] 
Backed out changeset 8ef278ec7557a5b3446807e9bc16624630ffd034

13 years agofix the 2to3 here
Mike Bayer [Sun, 23 Oct 2011 17:42:02 +0000 (13:42 -0400)] 
fix the 2to3 here

13 years ago- Added accessor to types called "python_type",
Mike Bayer [Sun, 23 Oct 2011 17:05:56 +0000 (13:05 -0400)] 
- Added accessor to types called "python_type",
returns the rudimentary Python type object
for a particular TypeEngine instance, if known,
else raises NotImplementedError.  [ticket:77]

13 years ago - Cls.column.collate("some collation") now
Mike Bayer [Sun, 23 Oct 2011 16:02:58 +0000 (12:02 -0400)] 
   - Cls.column.collate("some collation") now
     works.  [ticket:1776]  Also in 0.6.9

13 years ago- Added missing comma to PASSIVE_RETURN_NEVER_SET
Mike Bayer [Thu, 20 Oct 2011 19:00:17 +0000 (15:00 -0400)] 
- Added missing comma to PASSIVE_RETURN_NEVER_SET
symbol [ticket:2304]

13 years ago- Fixed bug in history_meta.py example where
Mike Bayer [Mon, 17 Oct 2011 17:26:26 +0000 (13:26 -0400)] 
- Fixed bug in history_meta.py example where
the "unique" flag was not removed from a
single-table-inheritance subclass which
generates columns to put up onto the base.

13 years agoplus a period. seriously. should i just watch TV today instead of screwing more...
Mike Bayer [Mon, 17 Oct 2011 17:14:04 +0000 (13:14 -0400)] 
plus a period.  seriously.   should i just watch TV today instead of screwing more things up

13 years agoand i screwed it up
Mike Bayer [Mon, 17 Oct 2011 16:58:52 +0000 (12:58 -0400)] 
and i screwed it up

13 years agoupdated conventions on mixins
Mike Bayer [Mon, 17 Oct 2011 16:33:51 +0000 (12:33 -0400)] 
updated conventions on mixins

13 years agoAdded tag rel_0_7_3 for changeset 8aa229cf84cea6934bd1a041f86dadd0304a58b6
Mike Bayer [Sun, 16 Oct 2011 18:30:37 +0000 (14:30 -0400)] 
Added tag rel_0_7_3 for changeset 8aa229cf84cea6934bd1a041f86dadd0304a58b6

13 years agolink to declarative concrete helper doc rel_0_7_3
Mike Bayer [Sun, 16 Oct 2011 18:24:29 +0000 (14:24 -0400)] 
link to declarative concrete helper doc

13 years ago0.7.3 prep
Mike Bayer [Sun, 16 Oct 2011 18:14:45 +0000 (14:14 -0400)] 
0.7.3 prep

13 years agosome mssql stuff, though unicode is really not working still...
Mike Bayer [Sun, 16 Oct 2011 15:34:48 +0000 (11:34 -0400)] 
some mssql stuff, though unicode is really not working still...

13 years agofix this for oracle
Mike Bayer [Sat, 15 Oct 2011 21:17:33 +0000 (17:17 -0400)] 
fix this for oracle

13 years agofix this test for oursql
Mike Bayer [Sat, 15 Oct 2011 19:22:21 +0000 (15:22 -0400)] 
fix this test for oursql

13 years ago- Added client_encoding parameter to create_engine()
Mike Bayer [Sat, 15 Oct 2011 19:05:51 +0000 (15:05 -0400)] 
- Added client_encoding parameter to create_engine()
when the postgresql+psycopg2 dialect is used;
calls the psycopg2 set_client_encoding() method
with the value upon connect.  [ticket:1839]

13 years ago- Reinstated "comparator_factory" argument to
Mike Bayer [Sat, 15 Oct 2011 18:31:02 +0000 (14:31 -0400)] 
- Reinstated "comparator_factory" argument to
composite(), removed when 0.7 was released.
[ticket:2248]

13 years ago- Added an exception catch + warning for the
Mike Bayer [Sat, 15 Oct 2011 16:10:31 +0000 (12:10 -0400)] 
- Added an exception catch + warning for the
"return unicode detection" step within connect,
allows databases that crash on NVARCHAR to
continue initializing, assuming no NVARCHAR
type implemented.  [ticket:2299]

13 years agofix typos [ticket:2294] [ticket:2300]. these are both due to reworkings of 0.6 docs...
Mike Bayer [Sat, 15 Oct 2011 15:24:43 +0000 (11:24 -0400)] 
fix typos [ticket:2294] [ticket:2300].  these are both due to reworkings of 0.6 docs that don't have these typos

13 years ago- Improved query.join() such that the "left" side
Mike Bayer [Wed, 12 Oct 2011 19:15:28 +0000 (15:15 -0400)] 
- Improved query.join() such that the "left" side
can more flexibly be a non-ORM selectable,
such as a subquery.   A selectable placed
in select_from() will now be used as the left
side, favored over implicit usage
of a mapped entity.
If the join still fails based on lack of
foreign keys, the error message includes
this detail.  Thanks to brianrhude
on IRC for the test case.  [ticket:2298]

13 years ago - Added new flag expire_on_flush=False to column_property(),
Mike Bayer [Tue, 11 Oct 2011 18:15:09 +0000 (14:15 -0400)] 
  - Added new flag expire_on_flush=False to column_property(),
    marks those properties that would otherwise be considered
    to be "readonly", i.e. derived from SQL expressions,
    to retain their value after a flush has occurred, including
    if the parent object itself was involved in an update.

13 years ago- adjust some tests and such to work better with a mysql 5.5 install
Mike Bayer [Tue, 11 Oct 2011 04:15:43 +0000 (00:15 -0400)] 
- adjust some tests and such to work better with a mysql 5.5 install
  - Added mysql_length parameter to Index construct,
    specifies "length" for indexes.  [ticket:2293]

13 years ago - Fixed bug related to [ticket:2141] whereby the
Mike Bayer [Wed, 5 Oct 2011 15:47:19 +0000 (11:47 -0400)] 
  - Fixed bug related to [ticket:2141] whereby the
    same modified index behavior in PG 9 affected
    primary key reflection on a renamed column.
    [ticket:2291].  Also in 0.6.9.

13 years agoadd a test to confirm alter table of pk column gets reflected
Mike Bayer [Tue, 4 Oct 2011 16:30:23 +0000 (12:30 -0400)] 
add a test to confirm alter table of pk column gets reflected

13 years agoundo that change with the _, it doesn't break round trips
Mike Bayer [Mon, 3 Oct 2011 19:24:26 +0000 (15:24 -0400)] 
undo that change with the _, it doesn't break round trips