-4

In elixir iex, I want to know the basic steps.

1.If i had the module and How to import it.

2.I want run from l in '' where and get the map.

Im tried to import with import Ecto.Query, and then I was running some like from l in '' where, i got this #Ecto.Query<from l in "", where: >, how to get the data result?

Justin Wood
  • 9,941
  • 2
  • 33
  • 46
Carey
  • 307
  • 2
  • 5
  • 13

1 Answers1

0
import Ecto.Query
alias Repo
Repo.one(from s in Struct)

Maybe also look at all

Justin Wood
  • 9,941
  • 2
  • 33
  • 46