Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.
This repository was archived by the owner on Nov 18, 2020. It is now read-only.

Adapter not working with Ecto 2.2.x #41

@FrancisMurillo

Description

@FrancisMurillo

Hello,

I followed the directions in setting up an Api.Repo. Everytime I use Api.Repo.all(Api.Tick), I get the following error

** (KeyError) key :fields not found in: %{prefix: nil, preloads: [], select: %{assocs: [], postprocess: {:from, :any, {:source, :from}}, preprocess: [{:source, {"ticks", Api.Tick}, [id: :binary_id, buy: :decimal, sell: :decimal, inserted_at: :naive_datetime, updated_at: :naive_datetime]}], take: []}, sources: {{"ticks", Api.Tick}}}
    (rethinkdb_ecto) lib/rethinkdb_ecto.ex:162: RethinkDB.Ecto.execute/6
    (ecto) lib/ecto/repo/queryable.ex:133: Ecto.Repo.Queryable.execute/5
    (ecto) lib/ecto/repo/queryable.ex:37: Ecto.Repo.Queryable.all/4

Any idea how to resolve this would be great.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions