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, 3 months ago
  2. sql to dict by amitu 4 years, 3 months ago
  3. Choices helper by jacobian 3 years, 10 months ago
  4. Composite Indexing for MySQL by fongandrew 4 years ago
  5. reorder apps in admin index by reanes 3 years, 6 months ago

Comments

(Forgotten your password?)