You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no errors are thrown but it doesn't change the field value ...
The text was updated successfully, but these errors were encountered:
sylguyot
changed the title
MongoDB question : is possible to anonymise a field in a sub-document
MongoDB question : is it possible to anonymise a field in a sub-document
May 29, 2018
sample of my json document:
{
"_id" : ObjectId("5ac34319dc0ef65f31755b60"),
...,
identity : {
"givenName" : [
"Nicolas"
],
"sn" : [
"GUYOT"
],
...
}
}
I have tried to anonymise identity.givenName with the code:
anonymize('identity.givenName').using FieldStrategy::AnonymizeArray.new(FieldStrategy::RandomFirstName.new)
no errors are thrown but it doesn't change the field value ...
The text was updated successfully, but these errors were encountered: