From cdceb3c3714af707bfe3ede10af6536eaf529ca8 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 2 Apr 2007 21:36:11 +0000 Subject: - merged the "execcontext" branch, refactors engine/dialect codepaths - much more functionality moved into ExecutionContext, which impacted the API used by dialects to some degree - ResultProxy and subclasses now designed sanely - merged patch for #522, Unicode subclasses String directly, MSNVarchar implements for MS-SQL, removed MSUnicode. - String moves its "VARCHAR"/"TEXT" switchy thing into "get_search_list()" function, which VARCHAR and CHAR can override to not return TEXT in any case (didnt do the latter yet) - implements server side cursors for postgres, unit tests, #514 - includes overhaul of dbapi import strategy #480, all dbapi importing happens in dialect method "dbapi()", is only called inside of create_engine() for default and threadlocal strategies. Dialect subclasses have a datamember "dbapi" referencing the loaded module which may be None. - added "mock" engine strategy, doesnt require DBAPI module and gives you a "Connecition" which just sends all executes to a callable. can be used to create string output of create_all()/drop_all(). --- lib/sqlalchemy/sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/sql.py') diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index 87cbdaf0c..f6c2315ae 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -508,7 +508,7 @@ class ClauseParameters(object): return d def __repr__(self): - return repr(self.get_original_dict()) + return self.__class__.__name__ + ":" + repr(self.get_original_dict()) class ClauseVisitor(object): """A class that knows how to traverse and visit -- cgit v1.2.1