Open kadler opened 4 years ago
Various built-in SQLAlchemy dialects add custom attributes. MySQL has quite a few that we could model a "ccsid" attribute on. See the code for setting these attributes here: https://github.com/sqlalchemy/sqlalchemy/blob/master/lib/sqlalchemy/dialects/mysql/types.py#L66-L93 then using the attributes: https://github.com/sqlalchemy/sqlalchemy/blob/master/lib/sqlalchemy/dialects/mysql/base.py#L2265-L2297
String and Text both support a "collation" option to set the encoding of the parameter:
We could allow users to specify a CCSID here, eg.
I think we target this for a future version.