Created
March 22, 2017 18:39
-
-
Save aleandros/a3213f414868e3098f71e81b66712f02 to your computer and use it in GitHub Desktop.
Ecto Model default access
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
[bank|_] = Repo.all(Bank) | |
bank.id # Everything works as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment