Open ryantm opened 8 years ago
I second having this feature in the package. If I understand correctly, it could be easily implemented by adding two newtype wrappers for table and field names, respectively, and define an instance of Param
for each, which would just add the backticks around the wrapped table or field name.
Currently, mysql-simple only supports query substitution on values, but it would be nice to support table names and field names as well.