Fixed the run_sql function to address issues with fetchall() and fetchmany() when executing SQL queries that don’t return results, such as CREATE and INSERT statements. Additionally, the dependency on simplejson has been removed and instead just json is used now. The default string conversion in json.dumps has also been added.
Please review and merge this pull request prior to this PR.
Fixed the run_sql function to address issues with
fetchall()
andfetchmany()
when executing SQL queries that don’t return results, such as CREATE and INSERT statements. Additionally, the dependency onsimplejson
has been removed and instead justjson
is used now. The default string conversion in json.dumps has also been added.Please review and merge this pull request prior to this PR.