]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
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

13 years ago - a CREATE TABLE will put the COLLATE option
Mike Bayer [Mon, 3 Oct 2011 19:19:07 +0000 (15:19 -0400)] 
  - a CREATE TABLE will put the COLLATE option
    after CHARSET, which appears to be part of
    MySQL's arbitrary rules regarding if it will actually
    work or not.  [ticket:2225]

  - reflecting a MySQL table will ensure that the
    options added to the Table at the table.kwargs
    level have spaces converted to underscores.
    This is a slight behavioral change specifically
    to the "mysql_default_charset" option which
    previously would not be symmetrical.

13 years ago - Added "postgresql_using" argument to Index(), produces
Mike Bayer [Sun, 2 Oct 2011 21:17:46 +0000 (17:17 -0400)] 
  - Added "postgresql_using" argument to Index(), produces
    USING clause to specify index implementation for
    PG.  [ticket:2290].  Thanks to Ryan P. Kelly for
    the patch.

13 years ago - Enhanced the instrumentation in the ORM to support
Mike Bayer [Wed, 28 Sep 2011 17:04:42 +0000 (13:04 -0400)] 
  - Enhanced the instrumentation in the ORM to support
    Py3K's new argument style of "required kw arguments",
    i.e. fn(a, b, *, c, d), fn(a, b, *args, c, d).
    Argument signatures of mapped object's __init__
    method will be preserved, including required kw rules.
    [ticket:2237]

13 years ago- Fixed bug whereby mapper.order_by attribute would
Mike Bayer [Wed, 28 Sep 2011 13:10:23 +0000 (09:10 -0400)] 
- Fixed bug whereby mapper.order_by attribute would
be ignored in the "inner" query within a
subquery eager load.  [ticket:2287].
Also in 0.6.9.

13 years ago - SQLSoup will not be included in version 0.8
Mike Bayer [Mon, 26 Sep 2011 21:58:30 +0000 (17:58 -0400)] 
  - SQLSoup will not be included in version 0.8
    of SQLAlchemy; while useful, we would like to
    keep SQLAlchemy itself focused on one ORM
    usage paradigm.  SQLSoup will hopefully
    soon be superseded by a third party
    project.  [ticket:2262]

13 years agochangelog
Mike Bayer [Mon, 26 Sep 2011 21:45:09 +0000 (17:45 -0400)] 
changelog

13 years agowarn when a subclass' base uses @declared_attr for a regular column -
Mike Bayer [Mon, 26 Sep 2011 21:43:53 +0000 (17:43 -0400)] 
warn when a subclass' base uses @declared_attr for a regular column -
does not propagate to subclasses.  [ticket:2283]

13 years agoimproved docs on select_from() [ticket:2274]
Mike Bayer [Mon, 26 Sep 2011 21:33:01 +0000 (17:33 -0400)] 
improved docs on select_from() [ticket:2274]

13 years ago - Adjusted dictlike-polymorphic.py example
Mike Bayer [Mon, 26 Sep 2011 21:22:52 +0000 (17:22 -0400)] 
  - Adjusted dictlike-polymorphic.py example
    to apply the CAST such that it works on
    PG, other databases.  [ticket:2266]

13 years agofix test
Mike Bayer [Sat, 24 Sep 2011 16:13:45 +0000 (12:13 -0400)] 
fix test

13 years agofix tests here, mssql/mysql are mutually exclusive about x IN/= <subquery> at least...
Mike Bayer [Sat, 24 Sep 2011 15:16:54 +0000 (11:16 -0400)] 
fix tests here, mssql/mysql are mutually exclusive about x IN/= <subquery> at least when LIMIT is present

13 years ago- When an open Session is garbage collected, the objects
Mike Bayer [Sat, 24 Sep 2011 15:12:34 +0000 (11:12 -0400)] 
- When an open Session is garbage collected, the objects
within it which remain are considered detached again
when they are add()-ed to a new Session.
This is accomplished by an extra check that the previous
"session_key" doesn't actually exist among the pool
of Sessions.  [ticket:2281]

13 years ago - The String type now generates VARCHAR2 on Oracle
Mike Bayer [Sat, 24 Sep 2011 15:02:29 +0000 (11:02 -0400)] 
  - The String type now generates VARCHAR2 on Oracle
    which is recommended as the default VARCHAR.
    Added an explicit VARCHAR2 and NVARCHAR2 to the Oracle
    dialect as well.   Using NVARCHAR still generates
    "NVARCHAR2" - there is no "NVARCHAR" on Oracle -
    this remains a slight breakage of the "uppercase types
    always give exactly that" policy.  VARCHAR still
    generates "VARCHAR", keeping with the policy.   If
    Oracle were to ever define "VARCHAR" as something
    different as they claim (IMHO this will never happen),
    the type would be available.  [ticket:2252]

13 years ago- The integer "id" used to link a mapped instance with
Mike Bayer [Sat, 24 Sep 2011 14:32:39 +0000 (10:32 -0400)] 
- The integer "id" used to link a mapped instance with
its owning Session is now generated by a sequence
generation function rather than id(Session), to
eliminate the possibility of recycled id() values
causing an incorrect result, no need to check that
object actually in the session.  [ticket:2280]

13 years ago - The entry point resolution supported by
Mike Bayer [Sat, 24 Sep 2011 13:01:31 +0000 (09:01 -0400)] 
  - The entry point resolution supported by
    create_engine() now supports resolution of
    individual DBAPI drivers on top of a built-in
    or entry point-resolved dialect, using the
    standard '+' notation - it's converted to
    a '.' before being resolved as an entry
    point.  [ticket:2286]

13 years agomore specific
Mike Bayer [Sat, 24 Sep 2011 02:25:31 +0000 (22:25 -0400)] 
more specific

13 years agodocument CircularDependencyError. [ticket:2285]
Mike Bayer [Sat, 24 Sep 2011 02:17:18 +0000 (22:17 -0400)] 
document CircularDependencyError.  [ticket:2285]

13 years ago - The behavior of =/!= when comparing a scalar select
Mike Bayer [Sat, 24 Sep 2011 01:56:10 +0000 (21:56 -0400)] 
  - The behavior of =/!= when comparing a scalar select
    to a value will no longer produce IN/NOT IN as of 0.8;
    this behavior is a little too heavy handed (use in_() if
    you want to emit IN) and now emits a deprecation warning.
    To get the 0.8 behavior immediately and remove the warning,
    a compiler recipe is given at
    http://www.sqlalchemy.org/docs/07/dialects/mssql.html#scalar-select-comparisons
    to override the behavior of visit_binary().
    [ticket:2277]

13 years ago - Modified Column.copy() to use _constructor(),
Mike Bayer [Sat, 24 Sep 2011 00:51:58 +0000 (20:51 -0400)] 
  - Modified Column.copy() to use _constructor(),
    which defaults to self.__class__, in order to
    create the new object.  This allows easier support
    of subclassing Column.  [ticket:2284]

13 years ago - Fixed bug in unit of work whereby detection of
Mike Bayer [Thu, 22 Sep 2011 23:21:39 +0000 (19:21 -0400)] 
  - Fixed bug in unit of work whereby detection of
    "cycles" among classes in highly interlinked patterns
    would not produce a deterministic
    result; thereby sometimes missing some nodes that
    should be considered cycles and causing further
    issues down the road.  Note this bug is in 0.6
    also; not backported at the moment.
    [ticket:2282]

13 years agoremove inline imports from core events too
Mike Bayer [Thu, 22 Sep 2011 15:55:15 +0000 (11:55 -0400)] 
remove inline imports from core events too

13 years agoremove all inline imports statements from events.py, [ticket:2279]
Mike Bayer [Thu, 22 Sep 2011 15:52:23 +0000 (11:52 -0400)] 
remove all inline imports statements from events.py, [ticket:2279]

13 years agoadd a document note regarding CAST and the workaround in [ticket:2242]
Mike Bayer [Wed, 21 Sep 2011 22:02:31 +0000 (18:02 -0400)] 
add a document note regarding CAST and the workaround in [ticket:2242]

13 years agono this is not in 0.6.9, it was an 0.7 regression
Mike Bayer [Wed, 21 Sep 2011 21:38:57 +0000 (17:38 -0400)] 
no this is not in 0.6.9, it was an 0.7 regression

13 years ago- Fixed ReturningResultProxy for zxjdbc dialect.
Mike Bayer [Wed, 21 Sep 2011 21:33:04 +0000 (17:33 -0400)] 
- Fixed ReturningResultProxy for zxjdbc dialect.
[ticket:2272].  Also in 0.6.9

13 years ago - Fixed bug whereby with_only_columns() method of
Mike Bayer [Wed, 21 Sep 2011 21:08:08 +0000 (17:08 -0400)] 
  - Fixed bug whereby with_only_columns() method of
    Select would fail if a selectable were passed.
    [ticket:2270].  Also in 0.6.9.

13 years ago - Adjusted the "importlater" mechanism, which is
Mike Bayer [Wed, 21 Sep 2011 20:56:14 +0000 (16:56 -0400)] 
   - Adjusted the "importlater" mechanism, which is
     used internally to resolve import cycles,
     such that the usage of __import__ is completed
     when the import of sqlalchemy or sqlalchemy.orm
     is done, thereby avoiding any usage of __import__
     after the application starts new threads,
     fixes [ticket:2279].  Also in 0.6.9.

13 years agoensure sa_pool_key isn't passed to connect
Mike Bayer [Wed, 21 Sep 2011 14:26:49 +0000 (10:26 -0400)] 
ensure sa_pool_key isn't passed to connect

13 years ago - Added optional "sa_pool_key" argument to
Mike Bayer [Tue, 20 Sep 2011 16:36:30 +0000 (12:36 -0400)] 
  - Added optional "sa_pool_key" argument to
    pool.manage(dbapi).connect() so that serialization
    of args is not necessary.

13 years agoplus synonyms accessed as string
Mike Bayer [Tue, 20 Sep 2011 02:13:24 +0000 (22:13 -0400)] 
plus synonyms accessed as string

13 years ago - added "adapt_on_names" boolean flag to orm.aliased()
Mike Bayer [Mon, 19 Sep 2011 20:48:39 +0000 (16:48 -0400)] 
  - added "adapt_on_names" boolean flag to orm.aliased()
    construct.  Allows an aliased() construct
    to link the ORM entity to a selectable that contains
    aggregates or other derived forms of a particular
    attribute, provided the name is the same as that
    of the entity mapped column.

13 years ago - Changes to attempt support of FreeTDS 0.91 with
Mike Bayer [Sun, 18 Sep 2011 19:33:12 +0000 (15:33 -0400)] 
  - Changes to attempt support of FreeTDS 0.91 with
    Pyodbc.  This includes that string binds are sent as
    Python unicode objects when FreeTDS 0.91 is detected,
    and a CAST(? AS NVARCHAR) is used when we detect
    for a table.   However, I'd continue
    to characterize Pyodbc + FreeTDS 0.91 behavior as
    pretty crappy, there are still many queries such
    as used in reflection which cause a core dump on
    Linux, and it is not really usable at all
    on OSX, MemoryErrors abound and just plain broken
    unicode support.   [ticket:2273]

13 years agoordering
Mike Bayer [Fri, 16 Sep 2011 02:26:12 +0000 (22:26 -0400)] 
ordering

13 years ago - Fixed a variety of synonym()-related regressions
Mike Bayer [Fri, 16 Sep 2011 00:18:26 +0000 (20:18 -0400)] 
  - Fixed a variety of synonym()-related regressions
    from 0.6:
        - making a synonym against a synonym now works.
        - synonyms made against a relationship() can
          be passed to query.join(), options sent
          to query.options(), passed by name
          to query.with_parent().
- revised the approach taken earlier to just
propagate "property" out from the proxied attr the same
way queryable attribute does.

13 years ago - Another previously unknown feature from 0.6, synonyms
Mike Bayer [Thu, 15 Sep 2011 21:58:01 +0000 (17:58 -0400)] 
  - Another previously unknown feature from 0.6, synonyms
    of relationship() can again be passed to join().

13 years ago- Fixed previously untested function which regressed
Mike Bayer [Thu, 15 Sep 2011 20:23:15 +0000 (16:23 -0400)] 
- Fixed previously untested function which regressed
in 0.7, can now make a synonym() of a synonym()
again.

13 years ago - Changed the update() method on association proxy
Mike Bayer [Wed, 14 Sep 2011 15:31:33 +0000 (11:31 -0400)] 
  - Changed the update() method on association proxy
    dictionary to use a duck typing approach, i.e.
    checks for "keys", to discern between update({})
    and update((a, b)).   Previously, passing a
    dictionary that had tuples as keys would be misinterpreted
    as a sequence. [ticket:2275]

13 years agofix sentence
Mike Bayer [Sat, 10 Sep 2011 23:10:18 +0000 (19:10 -0400)] 
fix sentence

13 years ago - New event hook, MapperEvents.after_configured().
Mike Bayer [Sat, 10 Sep 2011 20:54:23 +0000 (16:54 -0400)] 
  - New event hook, MapperEvents.after_configured().
    Called after a configure() step has completed and
    mappers were in fact affected.   Theoretically this
    event is called once per application, unless new mappings
    are constructed after existing ones have been used
    already.

  - New declarative features:
        - __declare_last__() method, establishes an event
        listener for the class method that will be called
        when mappers are completed with the final "configure"
        step.
        - __abstract__ flag.   The class will not be mapped
        at all when this flag is present on the class.
        - New helper classes ConcreteBase, AbstractConcreteBase.
        Allow concrete mappings using declarative which automatically
        set up the "polymorphic_union" when the "configure"
        mapper step is invoked.
        - The mapper itself has semi-private methods that allow
        the "with_polymorphic" selectable to be assigned
        to the mapper after it has already been configured.
        [ticket:2239]

13 years agominor callcount bump resulting from r3876c9c0b9a4
Mike Bayer [Fri, 9 Sep 2011 21:18:10 +0000 (17:18 -0400)] 
minor callcount bump resulting from r3876c9c0b9a4

13 years ago - Reflection functions for Table, Sequence no longer
Mike Bayer [Fri, 9 Sep 2011 21:12:52 +0000 (17:12 -0400)] 
  - Reflection functions for Table, Sequence no longer
    case insensitive.  Names can be differ only in case
    and will be correctly distinguished.  [ticket:2256]

13 years ago- Calling class_mapper() and passing in an object
Mike Bayer [Fri, 9 Sep 2011 20:18:44 +0000 (16:18 -0400)] 
- Calling class_mapper() and passing in an object
that is not a "type" (i.e. a class that could
potentially be mapped) now raises an informative
ArgumentError, rather than UnmappedClassError.
[ticket:2196]

13 years ago - Identity map .discard() uses dict.pop(,None)
Mike Bayer [Fri, 9 Sep 2011 20:11:13 +0000 (16:11 -0400)] 
  - Identity map .discard() uses dict.pop(,None)
    internally instead of "del" to avoid KeyError/warning
    during a non-determinate gc teardown [ticket:2267]

13 years ago - Behavioral improvement: empty
Mike Bayer [Fri, 9 Sep 2011 20:03:23 +0000 (16:03 -0400)] 
  - Behavioral improvement: empty
    conjunctions such as and_() and or_() will be
    flattened in the context of an enclosing conjunction,
    i.e. and_(x, or_()) will produce 'X' and not 'X AND
    ()'. [ticket:2257].

13 years ago- Fixed bug whereby if __eq__() was
Mike Bayer [Fri, 9 Sep 2011 19:51:40 +0000 (15:51 -0400)] 
- Fixed bug whereby if __eq__() was
redefined, a relationship many-to-one lazyload
would hit the __eq__() and fail.  [ticket:2260]
Does not apply to 0.6.9.

13 years agofix typo, [ticket:2271]
Mike Bayer [Tue, 6 Sep 2011 13:51:18 +0000 (09:51 -0400)] 
fix typo, [ticket:2271]

13 years ago- Fixed bug regarding calculation of "from" list
Mike Bayer [Mon, 5 Sep 2011 23:12:12 +0000 (19:12 -0400)] 
- Fixed bug regarding calculation of "from" list
for a select() element.  The "from" calc is now
delayed, so that if the construct uses a Column
object that is not yet attached to a Table,
but is later associated with a Table, it generates
SQL using the table as a FROM.   This change
impacted fairly deeply the mechanics of how
the FROM list as well as the "correlates" collection
is calculated, as some "clause adaption" schemes
(these are used very heavily in the ORM)
were relying upon the fact that the "froms"
collection would typically be cached before the
adaption completed.   The rework allows it
such that the "froms" collection can be cleared
and re-generated at any time.  [ticket:2261]
- RelationshipProperty.Comparator._criterion_exists()
adds an "_orm_adapt" annotation to the correlates target,
to work with the change in [ticket:2261].   It's not clear
if the change to correlation+adaption mechanics will affect end user
code yet.
- FromClause now uses group_expirable_memoized_property for
late-generated values like primary key, _columns, etc.
The Select class adds some tokens to this object and has the
nice effect that FromClause doesn't need to know about
Select's names anymore.   An additional change might be to
have Select use a different group_expirable_memoized_property
so that it's collection of attribute names are specific to
Select though this isn't really necessary right now.

13 years agoand lets use the right method name here...
Mike Bayer [Thu, 25 Aug 2011 13:40:52 +0000 (09:40 -0400)] 
and lets use the right method name here...

13 years agoadd more discouragment from using before_/after_ mapper events for anything ORM-heavy
Mike Bayer [Thu, 25 Aug 2011 12:53:32 +0000 (08:53 -0400)] 
add more discouragment from using before_/after_ mapper events for anything ORM-heavy

13 years agodocument pool ping recipe
Mike Bayer [Wed, 24 Aug 2011 14:58:06 +0000 (10:58 -0400)] 
document pool ping recipe

13 years agowho knew we already had a test for that
Mike Bayer [Mon, 22 Aug 2011 15:26:52 +0000 (11:26 -0400)] 
who knew we already had a test for that

13 years ago- Improvement to multi-param statement logging,
Mike Bayer [Mon, 22 Aug 2011 15:12:36 +0000 (11:12 -0400)] 
- Improvement to multi-param statement logging,
long lists of bound parameter sets will be
compressed with an informative indicator
of the compression taking place.  Exception
messages use the same improved formatting.
[ticket:2243]

13 years agoundo accidental patch commit
Mike Bayer [Thu, 18 Aug 2011 17:03:30 +0000 (13:03 -0400)] 
undo accidental patch commit

13 years agodocument autocommit when using the compiler extension, update the "understanding...
Mike Bayer [Thu, 18 Aug 2011 17:02:30 +0000 (13:02 -0400)] 
document autocommit when using the compiler extension, update the "understanding autocommit" section

13 years agodocument session bind resolution order
Mike Bayer [Wed, 17 Aug 2011 18:55:21 +0000 (14:55 -0400)] 
document session bind resolution order

13 years ago - Extra keyword arguments to the base Float
Mike Bayer [Tue, 16 Aug 2011 22:31:49 +0000 (18:31 -0400)] 
  - Extra keyword arguments to the base Float
    type beyond "precision" and "asdecimal" are ignored;
    added a deprecation warning here and additional
    docs, related to [ticket:2258]

13 years ago- Added a slightly nicer __repr__() to SchemaItem
Mike Bayer [Sun, 14 Aug 2011 16:20:54 +0000 (12:20 -0400)] 
- Added a slightly nicer __repr__() to SchemaItem
classes.  Note the repr here can't fully support
the "repr is the constructor" idea since schema
items can be very deeply nested/cyclical, have
late initialization of some things, etc.
[ticket:2223]

13 years ago - The recreate() method in all pool classes uses
Mike Bayer [Sun, 14 Aug 2011 15:55:32 +0000 (11:55 -0400)] 
  - The recreate() method in all pool classes uses
    self.__class__ to get at the type of pool
    to produce, in the case of subclassing.  Note
    there's no usual need to subclass pools.
    [ticket:2254]

13 years ago- add docstrings for defer(), undefer(), improve name "keys" to be "key"
Mike Bayer [Sun, 14 Aug 2011 15:36:17 +0000 (11:36 -0400)] 
- add docstrings for defer(), undefer(), improve name "keys" to be "key"
to reduce confusion, [ticket:2250]

13 years ago - Fixed regression in new composite rewrite where
Mike Bayer [Sun, 14 Aug 2011 15:18:08 +0000 (11:18 -0400)] 
  - Fixed regression in new composite rewrite where
    deferred=True option failed due to missing
    import [ticket:2253]

13 years agothis test only runs for PG
Mike Bayer [Sat, 13 Aug 2011 02:58:46 +0000 (22:58 -0400)] 
this test only runs for PG

13 years ago- add test profiling merge() behavior when merging lots of bidirectional collections...
Mike Bayer [Sat, 13 Aug 2011 02:48:40 +0000 (22:48 -0400)] 
- add test profiling merge() behavior when merging lots of bidirectional collections/m2os,
collections present in given merge field.   This shows that the change proposed
in [ticket:2221] adds over 10% method call overhead including significantly more
SQL statements.

13 years ago- Narrowed the assumption made when reflecting
Mike Bayer [Tue, 9 Aug 2011 23:45:20 +0000 (19:45 -0400)] 
- Narrowed the assumption made when reflecting
a foreign-key referenced table with schema in
the current search path; an explicit schema will
be applied to the referenced table only if
it actually matches that of the referencing table,
which also has an explicit schema.   Previously
it was assumed that "current" schema was synonymous
with the full search_path.  [ticket:2249]

13 years agosome core cross linkage
Mike Bayer [Sun, 7 Aug 2011 23:44:39 +0000 (19:44 -0400)] 
some core cross linkage

13 years ago- basic relational patterns -> all declarative. classical mapper folks can
Mike Bayer [Sun, 7 Aug 2011 23:04:10 +0000 (19:04 -0400)] 
- basic relational patterns -> all declarative.   classical mapper folks can
figure it out.
- update self-referential examples to be fully declarative/aliased etc.

13 years agolong line formatting
Mike Bayer [Sun, 7 Aug 2011 22:05:49 +0000 (18:05 -0400)] 
long line formatting

13 years agomore green sections. fun !
Mike Bayer [Sun, 7 Aug 2011 20:47:58 +0000 (16:47 -0400)] 
more green sections.  fun !

13 years agoupdate address_count property
Mike Bayer [Sun, 7 Aug 2011 18:05:00 +0000 (14:05 -0400)] 
update address_count property

13 years agofix composite example
Mike Bayer [Sun, 7 Aug 2011 17:50:52 +0000 (13:50 -0400)] 
fix composite example

13 years agodrat
Mike Bayer [Sun, 7 Aug 2011 17:37:40 +0000 (13:37 -0400)] 
drat

13 years ago- rework collections docs, talk about the simple stuff some more.
Mike Bayer [Sun, 7 Aug 2011 17:34:41 +0000 (13:34 -0400)] 
- rework collections docs, talk about the simple stuff some more.
Scare away the user from custom !  scary !  boo !

13 years agodeclarify the mapper config docs
Mike Bayer [Sun, 7 Aug 2011 16:33:03 +0000 (12:33 -0400)] 
declarify the mapper config docs

13 years agotypo
Mike Bayer [Sun, 7 Aug 2011 05:38:18 +0000 (01:38 -0400)] 
typo

13 years ago- classical mappings
Mike Bayer [Sun, 7 Aug 2011 05:13:29 +0000 (01:13 -0400)] 
- classical mappings
- break out eager loads add contains eager again
- edits

13 years agoedit
Mike Bayer [Sun, 7 Aug 2011 00:31:16 +0000 (20:31 -0400)] 
edit

13 years agotutorial content finished, needs fresh proofread as well as corrections
Mike Bayer [Sun, 7 Aug 2011 00:01:25 +0000 (20:01 -0400)] 
tutorial content finished, needs fresh proofread as well as corrections
to the SQL for all the counts

13 years ago- Repaired edge case where mapper would fail
Mike Bayer [Sat, 6 Aug 2011 23:30:34 +0000 (19:30 -0400)] 
- Repaired edge case where mapper would fail
to fully update internal state when a relationship
on a new mapper would establish a backref on the
first mapper.
- continuing with tutorial, moving eager loading into its
own place and describing more fully

13 years ago- rework tutorial to be all declarative, all the time
Mike Bayer [Sat, 6 Aug 2011 22:29:37 +0000 (18:29 -0400)] 
- rework tutorial to be all declarative, all the time
- add detail to declarative docs about base classes

13 years agosigh...*NOW* fix it for py3k so the next transformer doesn't squash it
Mike Bayer [Sat, 6 Aug 2011 19:52:50 +0000 (15:52 -0400)] 
sigh...*NOW* fix it for py3k so the next transformer doesn't squash it

13 years agofix a test
Mike Bayer [Sat, 6 Aug 2011 19:23:46 +0000 (15:23 -0400)] 
fix a test

13 years ago- Query will convert an OFFSET of zero when
Mike Bayer [Sat, 6 Aug 2011 19:03:33 +0000 (15:03 -0400)] 
- Query will convert an OFFSET of zero when
slicing into None, so that needless OFFSET
clauses are not invoked.
- mssql: "0" is accepted as an argument for limit() which
will produce "TOP 0". [ticket:2222]
- add tests to default compiler test for LIMIT/OFFSET generation

13 years ago - Fixed bug in query.join() which would occur
Mike Bayer [Sat, 6 Aug 2011 18:23:07 +0000 (14:23 -0400)] 
  - Fixed bug in query.join() which would occur
    in a complex multiple-overlapping path scenario,
    where the same table could be joined to
    twice.  Thanks *much* to Dave Vitek
    for the excellent fix here.  [ticket:2247]

13 years ago- use itertools.count() plus mutex for Query _new_runid, psycopg2 server
Mike Bayer [Sat, 6 Aug 2011 18:21:19 +0000 (14:21 -0400)] 
- use itertools.count() plus mutex for Query _new_runid, psycopg2 server
side cursor names, mentinoed in [ticket:2247]

13 years ago- second pass through association proxy docs, some more links on any()/has(), MapperP...
Mike Bayer [Sat, 6 Aug 2011 16:43:09 +0000 (12:43 -0400)] 
- second pass through association proxy docs, some more links on any()/has(), MapperProperty

13 years ago- rewrite the docs for association proxy using declarative, add new examples, querying,
Mike Bayer [Sat, 6 Aug 2011 01:29:21 +0000 (21:29 -0400)] 
- rewrite the docs for association proxy using declarative, add new examples, querying,
etc., part of [ticket:2246]
- add some accessors to AssociationProxy for attributes, test in join(), [ticket:2236]
- update relationship docs to talk about callables, part of [ticket:2246]

13 years ago - Ensured that the same ValueError is raised for
Mike Bayer [Thu, 4 Aug 2011 19:34:24 +0000 (15:34 -0400)] 
  - Ensured that the same ValueError is raised for
    illegal date/time/datetime string parsed from
    the database regardless of whether C
    extensions are in use or not.

13 years agolink date/time classes correctly, helps [ticket:2244]
Mike Bayer [Thu, 4 Aug 2011 19:20:46 +0000 (15:20 -0400)] 
link date/time classes correctly, helps [ticket:2244]

13 years ago- epic rewrite of Query.join documentation
Mike Bayer [Wed, 3 Aug 2011 23:44:40 +0000 (19:44 -0400)] 
- epic rewrite of Query.join documentation
- remove cruft from tutorial regarding obsolete orm.join, old calling forms

13 years ago - Added after_soft_rollback() Session event. This
Mike Bayer [Mon, 1 Aug 2011 18:16:46 +0000 (14:16 -0400)] 
   - Added after_soft_rollback() Session event.  This
     event fires unconditionally whenever rollback()
     is called, regardless of if an actual DBAPI
     level rollback occurred.  This event
    is specifically designed to allow operations
     with the Session to proceed after a rollback
     when the Session.is_active is True.
     [ticket:2241]
- SessionTransaction is mentioned in public docs, many
more docstrings for events etc. otherwise

13 years agoAdded tag rel_0_7_2 for changeset b088914265cc3e918c95d1e419234a497a8a9559
Mike Bayer [Sun, 31 Jul 2011 23:17:52 +0000 (19:17 -0400)] 
Added tag rel_0_7_2 for changeset b088914265cc3e918c95d1e419234a497a8a9559

13 years ago0.7.2 + release date rel_0_7_2
Mike Bayer [Sun, 31 Jul 2011 23:12:31 +0000 (19:12 -0400)] 
0.7.2 + release date