Revision 2444
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
274 | 274 |
def esc_name(self, name): return esc_name(self, name) # calls global func |
275 | 275 |
|
276 | 276 |
def run_query(self, query, params=None, cacheable=False, log_level=2): |
277 |
'''Translates known DB errors to typed exceptions: |
|
278 |
See self.DbCursor.execute().''' |
|
279 | 277 |
assert query != None |
280 | 278 |
|
281 | 279 |
if not self.caching: cacheable = False |
Also available in: Unified diff
sql.py: DbConn.run_query(): Removed no longer accurate doc comment, because that functionality is now in module-level run_query()