Do you ever `import` inside a function?

Sometimes in a test helper in a test file I import Ecto.Query because that function is the only place where we will interact with the DB.

3 Likes