Revision 2347
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
268 | 268 |
else: raise NotImplementedError("Can't escape value for "+module |
269 | 269 |
+' database') |
270 | 270 |
|
271 |
def esc_name(self, name): return esc_name(self, name) # calls global func |
|
272 |
|
|
271 | 273 |
def run_query(self, query, params=None, cacheable=False): |
272 | 274 |
'''Translates known DB errors to typed exceptions: |
273 | 275 |
See self.DbCursor.execute().''' |
Also available in: Unified diff
sql.py: DbConn: Added esc_name()