Execute a SQL query and return the row count.
Parameters
sql (str) –
The SQL to execute
sql_params (list of native types) –
The SQL parameters that will be substituted for tokens (e.g. 2)
sql_opts (dict) –
The options for SQL execution, matching the options passed to GPUdb.execute_sql(). Defaults to None.
Returns
Number of records affected