In the project I am working on before we used a custom connector for MariaDB but now I have to use the default connector for MySQL in Django.
The previous MariDb connector used ? For parameterization but MySQL for Django uses %s instead.
With the MariaDB you could something like this:
sd_query = create_update_query(interpretation, record_id, tableName)
cursor.execute(sd_query, tuple(interpretation.values()) )
how to do it with a %s parameterization?
I couldn't find anything in the official documentation.