Created
September 12, 2022 14:26
-
-
Save wttj-tech/b8b7e6cd450ba0aee85e283b3777d2bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user = Repo.get(User, id) | |
%User{name: "jane", age: 24, email: "[email protected]"} | |
EctoAnon.run(user, Repo) | |
{:ok, %User{name: "redacted", age: 24, email: "redacted"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment