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):
class ThreadedDB:
"""
This class is an interface to DB.
Its caracteristic is that an instance of this class interfaces multiple
instanes of DB class, each one being bound to a specific thread.
Its characteristic is that an instance of this class interfaces multiple
instances of DB class, each one being bound to a specific thread.
"""
conv=conversions.copy()
......@@ -297,6 +297,10 @@ class ThreadedDB:
def string_literal(self, *args, **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):
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