Hi,
is there a way to use a ecto type to “load” a certain field when using schemaless queries?
Ecto.Query.from(o in "orders", select: o.inserted_at) |> MyApp.Repo.all
This returns a list of datetime tuples, [{2017, 10, 02}, {10, 11, 32}]. I can manually map the result to DateTime afterwards, but I’m wondering if there is some magic that I can put in :select that I’m missing? Like type(o, MyEctoType) but on the way out of the database.