Let’s say you are authenticated in your Moralis dapp and run
const currentUser = Moralis.User.current(); currentUser.set("username", "my_new_username"); await currentUser.save();
This will successfully add username to certain user in _User collection. But data will be encrypted, even if isEncryptedUserEnabled === false. You can only access username with Moralis.User.
Some data is not that sensitive and I need to use it in other collections. So, the question is, how to get all users username fields with aggregation from cloud functions? Now it returns something like “ExkNWei2KNA9f1oFgmC6QDl42” per user.