Closed databu closed 7 years ago
Oh, maybe I should add that the MySQL type of some_json_field
is just text
, not the native JSON datatype supported by newer MySQL versions.
Nevermind. The problem was something completely different: I didn't specify the primary key column. I thought you don't have to do it if it's called "id", but in this table, it isn't the first column, which seems to break the default mechanism.
I'm trying to anonymize a json column stored in a mysql table. The structure of the json looks like this:
[[{ "target": "<name>", ... } ... ] ... ]
.I'm mapping the "target" values to "some name" like so:
However this throws an error:
Full stack trace: