Example #1
0
 def sql_update(self, sqlstr):
     """Execute the actual SQL query (UPDATE)."""
     get_connection().update_raw(sqlstr)
     return 1
Example #2
0
 def sql_insert(self, sqlstr):
     """Execute the actual SQL query (INSERT)."""
     get_connection().insert_raw(sqlstr)
     return 1
Example #3
0
 def sql_select(self, sqlstr):
     """Execute the actual SQL query (SELECT)."""
     return get_connection()._raw_sql(sqlstr)