clic.db.cursor: Connect to CLiC DB¶
-
class
clic.db.cursor.
LoggingConnection
(*args, **kwargs)¶ Bases:
sphinx.ext.autodoc.importer._MockObject
-
filter
(msg, cur)¶
-
-
clic.db.cursor.
get_pool_cursor
()¶ Returns a cursor pointing at a DB connection from our pool. You should call put_pool_cursor() to put it back again when done.
-
clic.db.cursor.
get_script_cursor
(for_write=False)¶ Return a single cursor for a short-lived script
-
clic.db.cursor.
put_pool_cursor
(cur)¶ Closes (cur) and returns it’s associated connection back to the pool