executesql

1
2
3
4
def executesql(query,param):
    from django.db import connection
    cursor = connection.cursor()
    return cursor.execute(query,param)

More like this

  1. sqltojson by amitu 4 years, 2 months ago
  2. sql to dict by amitu 4 years, 2 months ago
  3. Choices helper by jacobian 3 years, 9 months ago
  4. Composite Indexing for MySQL by fongandrew 3 years, 11 months ago
  5. reorder apps in admin index by reanes 3 years, 5 months ago

Comments

(Forgotten your password?)