I have a collection called as TestCol and it looks like this.
Name ID ToAddress Status
Abc 123 [email protected],[email protected],[email protected] A
Def 234 [email protected],[email protected] A
Ghi 567 [email protected],[email protected] B
I want to create a new collection Called as UniqueToAddress like,
ToAddressUnique
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
It can be seen that [email protected] is repeated multiple times inside the ToAddress and it appears only once on ToAddressUnique Collection. How Can I do this ?