Project

General

Profile

« Previous | Next » 

Revision 2347

sql.py: DbConn: Added esc_name()

View differences:

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