Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias EctoTest.Repo
- import Ecto.Query
- Repo.all(from d in "department", select: [d.department_id, d.name])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement