Give access to the setSortKey() method of the underlying transaction manager

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37153 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ecb366b6
...@@ -169,8 +169,8 @@ def int_or_long(s): ...@@ -169,8 +169,8 @@ def int_or_long(s):
class ThreadedDB: class ThreadedDB:
""" """
This class is an interface to DB. This class is an interface to DB.
Its caracteristic is that an instance of this class interfaces multiple Its characteristic is that an instance of this class interfaces multiple
instanes of DB class, each one being bound to a specific thread. instances of DB class, each one being bound to a specific thread.
""" """
conv=conversions.copy() conv=conversions.copy()
...@@ -297,6 +297,10 @@ class ThreadedDB: ...@@ -297,6 +297,10 @@ class ThreadedDB:
def string_literal(self, *args, **kw): def string_literal(self, *args, **kw):
return self._access_db(method_id='string_literal', args=args, kw=kw) return self._access_db(method_id='string_literal', args=args, kw=kw)
def setSortKey(self, *args, **kw):
return self._access_db(method_id='setSortKey', args=args, kw=kw)
class DB(TM): class DB(TM):
defs={ defs={
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment