Revision 2795
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
381 | 381 |
|
382 | 382 |
##### Querying |
383 | 383 |
|
384 |
def run_raw_query(db, *args, **kw_args): |
|
385 |
'''For params, see DbConn.run_query()''' |
|
386 |
return db.run_query(*args, **kw_args) |
|
387 |
|
|
388 | 384 |
def mogrify(db, query, params): |
389 | 385 |
module = util.root_module(db.db) |
390 | 386 |
if module == 'psycopg2': return db.db.cursor().mogrify(query, params) |
Also available in: Unified diff
sql.py: Removed no longer used run_raw_query()