Created
August 29, 2016 06:16
-
-
Save abadongutierrez/6e446b67d3f23a0834fe78859745c19f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
alias EctoTest.Repo | |
import Ecto.Query | |
Repo.all(from d in "department", select: [d.department_id, d.name]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment