Babbler.Repo.all(User)
** (Protocol.UndefinedError) protocol Ecto.Queryable not implemented for User, the given module does not exist. This protocol is implemented for: Atom, BitString, Ecto.Query, Ecto.SubQuery, Tuple
(ecto) lib/ecto/queryable.ex:37: Ecto.Queryable.Atom.to_query/1
(ecto) lib/ecto/repo/queryable.ex:34: Ecto.Repo.Queryable.all/4
Babbler.Repo.all(Babbler.User)
Обсуждают сегодня