Created
March 22, 2017 18:52
-
-
Save aleandros/6a074d1fdf20502d800df23dac6e84bf to your computer and use it in GitHub Desktop.
Ecto field example for legacy databases
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
query = from b in Bank, | |
where: field(b, :BankName) == "Bank Inc." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment