db.close(). thanks nick name
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-07-05 21:17:15) dev
|
Version 2.00.0 (2012-07-05 21:32:06) dev
|
||||||
|
|||||||
@@ -6891,6 +6891,11 @@ def index():
|
|||||||
def rollback(self):
|
def rollback(self):
|
||||||
self._adapter.rollback()
|
self._adapter.rollback()
|
||||||
|
|
||||||
|
def close(self):
|
||||||
|
if self._adapter in thread.instances:
|
||||||
|
thread.instances.remove(self._adapter)
|
||||||
|
self._adapter.close()
|
||||||
|
|
||||||
def executesql(self, query, placeholders=None, as_dict=False):
|
def executesql(self, query, placeholders=None, as_dict=False):
|
||||||
"""
|
"""
|
||||||
placeholders is optional and will always be None when using DAL.
|
placeholders is optional and will always be None when using DAL.
|
||||||
|
|||||||
Reference in New Issue
Block a user