I’m using some rather complex sql queries with postgres WITH
queries.
Ecto.Adapters.SQL.query(MyRepo, my_complex_sql_query, [])
I’m getting raw Postgrex.Result
struct back, is there some prebuilt way of maping this with a Ecto.Schema?
I’m using some rather complex sql queries with postgres WITH
queries.
Ecto.Adapters.SQL.query(MyRepo, my_complex_sql_query, [])
I’m getting raw Postgrex.Result
struct back, is there some prebuilt way of maping this with a Ecto.Schema?
Wow! Exactly the thing I was looking for!
<3