]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years ago- Squashed 2.4 generators.
Jason Kirtland [Tue, 1 Apr 2008 18:31:20 +0000 (18:31 +0000)] 
- Squashed 2.4 generators.

17 years agoadded an order by to fix potential mysql test failure
Mike Bayer [Tue, 1 Apr 2008 18:11:13 +0000 (18:11 +0000)] 
added an order by to fix potential mysql test failure

17 years agoseems like the recent itertools add to select()._get_display_froms() adds overhead...
Mike Bayer [Tue, 1 Apr 2008 18:08:42 +0000 (18:08 +0000)] 
seems like the recent itertools add to select()._get_display_froms() adds overhead in 2.4?  not sure why

17 years agofix up some unit tests
Mike Bayer [Tue, 1 Apr 2008 17:46:36 +0000 (17:46 +0000)] 
fix up some unit tests

17 years ago- merge() may actually work now, though we've heard that before...
Mike Bayer [Tue, 1 Apr 2008 17:13:09 +0000 (17:13 +0000)] 
- merge() may actually work now, though we've heard that before...
- merge() uses the priamry key attributes on the object if _instance_key not present.  so merging works for instances that dont have an instnace_key, will still issue UPDATE for existing rows.
- improved collection behavior for merge() - will remove elements from a destination collection that are not in the source.
- fixed naive set-mutation issue in Select._get_display_froms
- simplified fixtures.Base a bit

17 years ago- Tighten up r4399 _set_iterable docs
Jason Kirtland [Tue, 1 Apr 2008 16:49:55 +0000 (16:49 +0000)] 
- Tighten up r4399 _set_iterable docs

17 years ago- Light collections refactor, added public collections.bulk_replace.
Jason Kirtland [Tue, 1 Apr 2008 16:38:23 +0000 (16:38 +0000)] 
- Light collections refactor, added public collections.bulk_replace.
- Collection attribs gain some private load-from-iterable flexiblity.

17 years agoweird, old cruft
Mike Bayer [Tue, 1 Apr 2008 04:51:02 +0000 (04:51 +0000)] 
weird, old cruft

17 years ago- removed redundant get_history() method
Mike Bayer [Tue, 1 Apr 2008 03:16:47 +0000 (03:16 +0000)] 
- removed redundant get_history() method
- the little bit at the bottom of _sort_circular_dependencies is absolutely covered by test/orm/cycles.py !  removing it breaks the test as run on PG.

17 years agoC-u 66 C-x f M-q
Jason Kirtland [Mon, 31 Mar 2008 22:45:34 +0000 (22:45 +0000)] 
C-u 66 C-x f M-q

17 years agoMSSQL adjustments to pyodbc connection string building
Rick Morrison [Mon, 31 Mar 2008 21:54:32 +0000 (21:54 +0000)] 
MSSQL adjustments to pyodbc connection string building

17 years agoAdd a new 'driver' keyword to the MSSQL pyodbc Dialect.
Rick Morrison [Mon, 31 Mar 2008 17:19:32 +0000 (17:19 +0000)] 
Add a new 'driver' keyword to the MSSQL pyodbc Dialect.
Refresh items that were recently reverted by another checkin

17 years ago- reverted previous "strings instead of tuples" change due to more specific test...
Mike Bayer [Sun, 30 Mar 2008 23:30:31 +0000 (23:30 +0000)] 
- reverted previous "strings instead of tuples" change due to more specific test results showing tuples faster
- changed cache decorator call on default_schema_name call to a connection.info specific one

17 years ago*whistle*
Jason Kirtland [Sun, 30 Mar 2008 23:24:05 +0000 (23:24 +0000)] 
*whistle*

17 years ago- Removed cache decorator.
Jason Kirtland [Sun, 30 Mar 2008 22:37:48 +0000 (22:37 +0000)] 
- Removed cache decorator.

17 years agosome cache decorator calls...
Mike Bayer [Sun, 30 Mar 2008 22:15:19 +0000 (22:15 +0000)] 
some cache decorator calls...

17 years agousing concatenated strings as keys in generated_ids collection; they hash slightly...
Mike Bayer [Sun, 30 Mar 2008 22:01:15 +0000 (22:01 +0000)] 
using concatenated strings as keys in generated_ids collection; they hash slightly faster than tuples

17 years ago- schema-qualified tables now will place the schemaname
Mike Bayer [Sun, 30 Mar 2008 21:48:19 +0000 (21:48 +0000)] 
- schema-qualified tables now will place the schemaname
ahead of the tablename in all column expressions as well
as when generating column labels.  This prevents cross-
schema name collisions in all cases [ticket:999]
- the "use_schema" argument to compiler.visit_column() is removed.  It uses
schema in all cases now.
- added a new test to the PG dialect to test roundtrip insert/update/delete/select
statements with full schema qualification

17 years agoMSSQL fixes for tickets 979, 916, 884
Rick Morrison [Sun, 30 Mar 2008 20:32:17 +0000 (20:32 +0000)] 
MSSQL fixes for tickets 979, 916, 884

17 years ago- added _from_self()
Mike Bayer [Sun, 30 Mar 2008 18:05:33 +0000 (18:05 +0000)] 
- added _from_self()
- changelog authoring

17 years ago- rearranged LoaderStrategies a bit
Mike Bayer [Sun, 30 Mar 2008 16:03:23 +0000 (16:03 +0000)] 
- rearranged LoaderStrategies a bit
- removed awareness of "dynamic" from attributes and replaced with "impl_class"
- moved DynaLoader into dynamic.py
- removed create_strategy() method from StrategizedProperty; they set up
'strategy_class' so that StrategizedProperty treats the default the same
as the optional loaders

17 years agoturned starargs conversion to a decorator, per jek's advice. select().order_by()...
Mike Bayer [Sat, 29 Mar 2008 16:31:31 +0000 (16:31 +0000)] 
turned starargs conversion to a decorator, per jek's advice. select().order_by()/group_by() already take *args.

17 years ago- Added PendingDeprecationWarning support
Jason Kirtland [Sat, 29 Mar 2008 15:54:50 +0000 (15:54 +0000)] 
- Added PendingDeprecationWarning support
- Deprecation decorator is now a real decorator

17 years ago- declarative_base() takes optional kwarg "mapper", which
Mike Bayer [Sat, 29 Mar 2008 14:41:41 +0000 (14:41 +0000)] 
- declarative_base() takes optional kwarg "mapper", which
is any callable/class/method that produces a mapper,
such as declarative_base(mapper=scopedsession.mapper).
This property can also be set on individual declarative
classes using the "__mapper_cls__" property.

17 years ago- merged with_polymorphic branch, which was merged with query_columns branch
Mike Bayer [Sat, 29 Mar 2008 00:00:49 +0000 (00:00 +0000)] 
- merged with_polymorphic branch, which was merged with query_columns branch
- removes everything to do with select_table, which remains as a keyword argument synonymous with
with_polymorphic=('*', select_table).
- all "polymorphic" selectables find their way to Query by way of _set_select_from() now, so that
all joins/aliasing/eager loads/etc. is handled consistently.  Mapper has methods for producing
polymorphic selectables so that Query and eagerloaders alike can get to them.
- row aliasing simplified, so that they don't need to nest.  they only need the source selectable
and adapt to whatever incoming columns they get.
- Query is more egalitarian about mappers/columns now.  Still has a strong sense of "entity zero",
but also introduces new unpublished/experimental _values() method which sets up a columns-only query.
- Query.order_by() and Query.group_by() take *args now (also still take a list, will likely deprecate
in 0.5).  May want to do this for select() as well.
- the existing "check for False discriminiator" "fix" was not working completely, added coverage
- orphan detection was broken when the target object was a subclass of the mapper with the orphaned
relation, fixed that too.

17 years ago- can now allow selects which correlate all FROM clauses
Mike Bayer [Fri, 28 Mar 2008 15:55:26 +0000 (15:55 +0000)] 
- can now allow selects which correlate all FROM clauses
and have no FROM themselves.  These are typically
used in a scalar context, i.e. SELECT x, (SELECT x WHERE y)
FROM table.  Requires explicit correlate() call.

17 years ago- Notes for r4338
Jason Kirtland [Tue, 25 Mar 2008 17:58:38 +0000 (17:58 +0000)] 
- Notes for r4338

17 years ago- fixed SQL function truncation of trailing underscores
Mike Bayer [Tue, 25 Mar 2008 17:25:20 +0000 (17:25 +0000)] 
- fixed SQL function truncation of trailing underscores
[ticket:996]

17 years ago- Added generic func.random (non-standard SQL)
Jason Kirtland [Tue, 25 Mar 2008 16:51:29 +0000 (16:51 +0000)] 
- Added generic func.random (non-standard SQL)

17 years agoa few more tweaks
Mike Bayer [Tue, 25 Mar 2008 00:02:45 +0000 (00:02 +0000)] 
a few more tweaks

17 years agoremoved AbstractClauseProcessor, merged its copy-and-visit behavior into ClauseVisitor
Mike Bayer [Mon, 24 Mar 2008 23:55:21 +0000 (23:55 +0000)] 
removed AbstractClauseProcessor, merged its copy-and-visit behavior into ClauseVisitor

17 years ago- already-compiled mappers will still trigger compiles of
Mike Bayer [Sun, 23 Mar 2008 16:36:47 +0000 (16:36 +0000)] 
- already-compiled mappers will still trigger compiles of
 other uncompiled mappers when used [ticket:995]

17 years agoadded nicer error message to dependent class not found
Mike Bayer [Sat, 22 Mar 2008 22:30:08 +0000 (22:30 +0000)] 
added nicer error message to dependent class not found

17 years ago - the "owner" keyword on Table is now deprecated, and is
Mike Bayer [Sat, 22 Mar 2008 19:30:42 +0000 (19:30 +0000)] 
 - the "owner" keyword on Table is now deprecated, and is
      exactly synonymous with the "schema" keyword.  Tables
      can now be reflected with alternate "owner" attributes,
      explicitly stated on the Table object or not using
      "schema".

    - all of the "magic" searching for synonyms, DBLINKs etc.
      during table reflection
      are disabled by default unless you specify
      "oracle_resolve_synonyms=True" on the Table object.
      Resolving synonyms necessarily leads to some messy
      guessing which we'd rather leave off by default.
      When the flag is set, tables and related tables
      will be resolved against synonyms in all cases, meaning
      if a synonym exists for a particular table, reflection
      will use it when reflecting related tables.  This is
      stickier behavior than before which is why it's
      off by default.

17 years ago- inheritance in declarative can be disabled when sending
Mike Bayer [Sat, 22 Mar 2008 18:05:46 +0000 (18:05 +0000)] 
- inheritance in declarative can be disabled when sending
"inherits=None" to __mapper_args__.

17 years agoreverted r4315 - a basic test works the way it was and fails with this change
Mike Bayer [Sat, 22 Mar 2008 15:06:28 +0000 (15:06 +0000)] 
reverted r4315 - a basic test works the way it was and fails with this change

17 years ago- made some fixes to the "from_joinpoint" argument to
Mike Bayer [Fri, 21 Mar 2008 17:21:41 +0000 (17:21 +0000)] 
- made some fixes to the "from_joinpoint" argument to
query.join() so that if the previous join was aliased
and this one isn't, the join still happens successfully.

17 years ago- adjusted the definition of "self-referential" to be
Mike Bayer [Fri, 21 Mar 2008 16:43:51 +0000 (16:43 +0000)] 
- adjusted the definition of "self-referential" to be
any two mappers with a common parent (this affects
whether or not aliased=True is required when joining
with Query).

17 years agoUndoing patch #994, for now; more testing needed. Sorry. Also modifying test for...
Catherine Devlin [Thu, 20 Mar 2008 16:48:46 +0000 (16:48 +0000)] 
Undoing patch #994, for now; more testing needed.  Sorry.  Also modifying test for query equivalence to account for underscoring of bind variables.

17 years agoadding zzzeek's patch from ticket #994, which fixed virtually all remaining broken...
Catherine Devlin [Thu, 20 Mar 2008 02:47:46 +0000 (02:47 +0000)] 
adding zzzeek's patch from ticket #994, which fixed virtually all remaining broken unit tests in the Oracle module

17 years agobugfix: preserving remote_owner during reflecttable setup of referential integrity
Catherine Devlin [Thu, 20 Mar 2008 00:44:01 +0000 (00:44 +0000)] 
bugfix: preserving remote_owner during reflecttable setup of referential integrity

17 years agoadded a runtime-incrementing counter for default primary keys to testlib/schema for...
Catherine Devlin [Wed, 19 Mar 2008 22:53:31 +0000 (22:53 +0000)] 
added a runtime-incrementing counter for default primary keys to testlib/schema for Oracle

17 years agoadded escape kw arg to contains(), startswith(), endswith(), [ticket:791]
Mike Bayer [Wed, 19 Mar 2008 20:25:51 +0000 (20:25 +0000)] 
added escape kw arg to contains(), startswith(), endswith(), [ticket:791]

17 years ago- like() and ilike() take an optional keyword argument
Mike Bayer [Wed, 19 Mar 2008 19:35:42 +0000 (19:35 +0000)] 
- like() and ilike() take an optional keyword argument
"escape=<somestring>", which is set as the escape character
using the syntax "x LIKE y ESCAPE '<somestring>'"
[ticket:993]

17 years ago- symbols now depickle properly
Jason Kirtland [Wed, 19 Mar 2008 18:02:47 +0000 (18:02 +0000)] 
- symbols now depickle properly
- fixed some symbol __new__ abuse

17 years agotypo
Gaëtan de Menten [Wed, 19 Mar 2008 12:48:09 +0000 (12:48 +0000)] 
typo

17 years agotest not supported on sqlite
Mike Bayer [Tue, 18 Mar 2008 23:50:30 +0000 (23:50 +0000)] 
test not supported on sqlite

17 years agosome fixup to one-to-many delete cascade
Mike Bayer [Tue, 18 Mar 2008 23:35:47 +0000 (23:35 +0000)] 
some fixup to one-to-many delete cascade

17 years ago- fixed/added coverage for various cascade scenarios
Mike Bayer [Tue, 18 Mar 2008 20:59:52 +0000 (20:59 +0000)] 
- fixed/added coverage for various cascade scenarios
- added coverage for some extra cases in dynamic relations
- removed some unused methods from unitofwork

17 years ago- added support for declarative deferred(Column(...))
Mike Bayer [Tue, 18 Mar 2008 17:42:07 +0000 (17:42 +0000)] 
- added support for declarative deferred(Column(...))
- changed "instrument" argument on synonym() to "descriptor", for consistency with comparable_proeprty()

17 years ago- Column._set_parent will complete the key==name contract for instances constructed...
Jason Kirtland [Tue, 18 Mar 2008 03:07:54 +0000 (03:07 +0000)] 
- Column._set_parent will complete the key==name contract for instances constructed anonymously

17 years ago- reST fixes
Jason Kirtland [Tue, 18 Mar 2008 03:05:34 +0000 (03:05 +0000)] 
- reST fixes

17 years agomapper double checks that columns in _compile_property are in the _cols_by_table...
Mike Bayer [Tue, 18 Mar 2008 02:38:11 +0000 (02:38 +0000)] 
mapper double checks that columns in _compile_property are in the _cols_by_table collection

17 years ago- Start coverage for Class.prop = Column(), promote nameless Columns
Jason Kirtland [Tue, 18 Mar 2008 02:16:15 +0000 (02:16 +0000)] 
- Start coverage for Class.prop = Column(), promote nameless Columns

17 years ago- Declarative will complete setup for Columns lacking names, allows
Jason Kirtland [Tue, 18 Mar 2008 00:25:55 +0000 (00:25 +0000)] 
- Declarative will complete setup for Columns lacking names, allows
  a more DRY syntax.

    class Foo(Base):
        __tablename__ = 'foos'
        id = Column(Integer, primary_key=True)

17 years ago- fixed order_by calculation in Query to properly alias
Mike Bayer [Tue, 18 Mar 2008 00:21:11 +0000 (00:21 +0000)] 
- fixed order_by calculation in Query to properly alias
mapper-config'ed order_by when using select_from()

17 years ago- 'name' is no longer a require constructor argument for Column(). It (and .key...
Jason Kirtland [Tue, 18 Mar 2008 00:15:34 +0000 (00:15 +0000)] 
- 'name' is no longer a require constructor argument for Column().  It (and .key) may now be deferred until the Column is added to a Table.

17 years ago- Declarative gains @synonym_for and @comparable_using decorators
Jason Kirtland [Mon, 17 Mar 2008 22:55:43 +0000 (22:55 +0000)] 
- Declarative gains @synonym_for and @comparable_using decorators

17 years ago- Added comparable_property(), adds query Comparator behavior to regular, unmanaged...
Jason Kirtland [Mon, 17 Mar 2008 22:06:49 +0000 (22:06 +0000)] 
- Added comparable_property(), adds query Comparator behavior to regular, unmanaged Python properties
- Some aspects of MapperProperty initialization are streteched pretty thin now
  and need a refactor; will proceed with these on the user_defined_state branch

17 years ago- trailing whitespace...
Jason Kirtland [Mon, 17 Mar 2008 21:59:02 +0000 (21:59 +0000)] 
- trailing whitespace...

17 years ago- DEFAULT VALUES again.
Jason Kirtland [Mon, 17 Mar 2008 21:58:31 +0000 (21:58 +0000)] 
- DEFAULT VALUES again.

17 years ago- fixed "cascade delete" operation of dynamic relations,
Mike Bayer [Sun, 16 Mar 2008 23:49:55 +0000 (23:49 +0000)] 
- fixed "cascade delete" operation of dynamic relations,
which had only been implemented for foreign-key nulling
behavior in 0.4.2 and not actual cascading deletes
[ticket:895]

17 years agofix datatypes #2
Mike Bayer [Sun, 16 Mar 2008 19:10:45 +0000 (19:10 +0000)] 
fix datatypes #2

17 years agofix insert() to have values (supports buildbot's SQLite)
Mike Bayer [Sun, 16 Mar 2008 19:07:22 +0000 (19:07 +0000)] 
fix insert() to have values (supports buildbot's SQLite)

17 years ago- Fixed descriminator col type for poly test
Jason Kirtland [Sun, 16 Mar 2008 18:51:43 +0000 (18:51 +0000)] 
- Fixed descriminator col type for poly test

17 years agoIssue a warning when a declarative detects a likely trailing comma: foo = Column...
Jason Kirtland [Sat, 15 Mar 2008 23:13:35 +0000 (23:13 +0000)] 
Issue a warning when a declarative detects a likely trailing comma: foo = Column(foo),

17 years ago- the "synonym" function is now directly usable with
Mike Bayer [Sat, 15 Mar 2008 20:18:54 +0000 (20:18 +0000)] 
- the "synonym" function is now directly usable with
"declarative".  Pass in the decorated property using
the "instrument" keyword argument, e.g.:
somekey = synonym('_somekey', instrument=property(g, s))
- declared_synonym deprecated

17 years agoSession.execute can now find binds from metadata
Ants Aasma [Wed, 12 Mar 2008 21:40:11 +0000 (21:40 +0000)] 
Session.execute can now find binds from metadata

17 years ago- fixed bug which was preventing synonym() attributes
Mike Bayer [Wed, 12 Mar 2008 21:32:32 +0000 (21:32 +0000)] 
- fixed bug which was preventing synonym() attributes
from being used with inheritance

17 years agotypo
Mike Bayer [Wed, 12 Mar 2008 21:04:19 +0000 (21:04 +0000)] 
typo

17 years ago- fixed missing import [ticket:989]
Jason Kirtland [Wed, 12 Mar 2008 14:17:15 +0000 (14:17 +0000)] 
- fixed missing import [ticket:989]

17 years agoadd relate(), entity() methods
Jonathan Ellis [Wed, 12 Mar 2008 12:11:12 +0000 (12:11 +0000)] 
add relate(), entity() methods

17 years ago- fixed/covered case when using a False value as a
Mike Bayer [Wed, 12 Mar 2008 03:02:28 +0000 (03:02 +0000)] 
- fixed/covered case when using a False value as a
polymorphic discriminator

17 years ago- when attributes are expired on a pending instance, an
Mike Bayer [Wed, 12 Mar 2008 01:52:36 +0000 (01:52 +0000)] 
- when attributes are expired on a pending instance, an
error will not be raised when the "refresh" action
is triggered and returns no result

17 years ago- Retroactive textmate damage control
Jason Kirtland [Wed, 12 Mar 2008 00:09:23 +0000 (00:09 +0000)] 
- Retroactive textmate damage control

17 years agoBump.
Jason Kirtland [Wed, 12 Mar 2008 00:07:37 +0000 (00:07 +0000)] 
Bump.

17 years agomore edits rel_0_4_4
Mike Bayer [Wed, 12 Mar 2008 00:02:41 +0000 (00:02 +0000)] 
more edits

17 years agofix a typo....
Mike Bayer [Tue, 11 Mar 2008 23:52:46 +0000 (23:52 +0000)] 
fix a typo....

17 years ago(Whoops,)
Jason Kirtland [Tue, 11 Mar 2008 23:27:30 +0000 (23:27 +0000)] 
(Whoops,)

17 years ago- Take broken mysql 4.1 column defaulting into account.
Jason Kirtland [Tue, 11 Mar 2008 23:22:44 +0000 (23:22 +0000)] 
- Take broken mysql 4.1 column defaulting into account.

17 years ago- Don't create implicit DDL column defaults
Jason Kirtland [Tue, 11 Mar 2008 23:16:10 +0000 (23:16 +0000)] 
- Don't create implicit DDL column defaults

17 years ago- increased assert_tabels_equal failure verbosity
Jason Kirtland [Tue, 11 Mar 2008 23:11:06 +0000 (23:11 +0000)] 
- increased assert_tabels_equal failure verbosity

17 years agofilled in some of the types documentation
Mike Bayer [Tue, 11 Mar 2008 20:03:14 +0000 (20:03 +0000)] 
filled in some of the types documentation

17 years agoupdated SQL output, fixed String/Text type
Mike Bayer [Tue, 11 Mar 2008 19:51:48 +0000 (19:51 +0000)] 
updated SQL output, fixed String/Text type

17 years agoreflection tests require foreign key reflection support
Mike Bayer [Tue, 11 Mar 2008 19:15:04 +0000 (19:15 +0000)] 
reflection tests require foreign key reflection support

17 years ago- fix expunging of orphans with more than one parent
Ants Aasma [Mon, 10 Mar 2008 20:49:27 +0000 (20:49 +0000)] 
- fix expunging of orphans with more than one parent
- move flush error for orphans from Mapper to UnitOfWork

17 years agoremove redundant test_rekey() test method
Mike Bayer [Mon, 10 Mar 2008 20:19:38 +0000 (20:19 +0000)] 
remove redundant test_rekey() test method

17 years ago- Test autoload with a FK override
Jason Kirtland [Mon, 10 Mar 2008 19:21:49 +0000 (19:21 +0000)] 
- Test autoload with a FK override

17 years ago- Added a primaryjoin= test
Jason Kirtland [Mon, 10 Mar 2008 18:40:36 +0000 (18:40 +0000)] 
- Added a primaryjoin= test

17 years agoeh, that __autoload_with__ idea was half baked.
Jason Kirtland [Mon, 10 Mar 2008 18:39:12 +0000 (18:39 +0000)] 
eh, that __autoload_with__ idea was half baked.

17 years ago- Added __autoload__ = True for declarative
Jason Kirtland [Mon, 10 Mar 2008 18:32:07 +0000 (18:32 +0000)] 
- Added __autoload__ = True for declarative
- declarative Base.__init__ is pickier about its kwargs

17 years agoremoved the "__main__" code from below
Mike Bayer [Mon, 10 Mar 2008 17:15:51 +0000 (17:15 +0000)] 
removed the "__main__" code from below

17 years ago- a new super-small "declarative" extension has been added,
Mike Bayer [Mon, 10 Mar 2008 17:14:08 +0000 (17:14 +0000)] 
- a new super-small "declarative" extension has been added,
which allows Table and mapper() configuration to take place
inline underneath a class declaration.  This extension differs
from ActiveMapper and Elixir in that it does not redefine
any SQLAlchemy semantics at all; literal Column, Table
and relation() constructs are used to define the class
behavior and table definition.

17 years ago- relation() can accept a callable for its first argument,
Mike Bayer [Mon, 10 Mar 2008 00:59:51 +0000 (00:59 +0000)] 
- relation() can accept a callable for its first argument,
which returns the class to be related.  This is in place
to assist declarative packages to define relations without
classes yet being in place.

17 years ago- dynamic_loader() / lazy="dynamic" now accepts and uses
Mike Bayer [Sun, 9 Mar 2008 22:51:55 +0000 (22:51 +0000)] 
- dynamic_loader() / lazy="dynamic" now accepts and uses
the order_by parameter in the same way in which it works
with relation().

17 years agoadded sanity test for order_by
Mike Bayer [Sun, 9 Mar 2008 18:00:04 +0000 (18:00 +0000)] 
added sanity test for order_by

17 years agoAdded support for vendor-extended INSERT syntax like INSERT DELAYED INTO
Jason Kirtland [Fri, 7 Mar 2008 16:56:37 +0000 (16:56 +0000)] 
Added support for vendor-extended INSERT syntax like INSERT DELAYED INTO

17 years agoweed whacking is not Nones
Mike Bayer [Fri, 7 Mar 2008 03:26:48 +0000 (03:26 +0000)] 
weed whacking is not Nones

17 years ago- moved property._is_self_referential() to be more generalized; returns True for...
Mike Bayer [Fri, 7 Mar 2008 03:16:46 +0000 (03:16 +0000)] 
- moved property._is_self_referential() to be more generalized; returns True for any mapper.isa() relationship between parent and child, and indicates that aliasing should be used for any join/correlation across the relation.  allows joins/any()/has() to work with inherited mappers referencing the parent etc.
- the original _is_self_referential() is now _refers_to_parent_table() and is only used during "direction" calculation to indicate the relation is from a single table to itself

17 years agocorrected assert_raises to be consistent with existing assertRaises() unittest method
Mike Bayer [Thu, 6 Mar 2008 18:59:23 +0000 (18:59 +0000)] 
corrected assert_raises to be consistent with existing assertRaises() unittest method