I have a Repo.insert_all/3
call that uses a custom query to do its insert.
I wan’t to retrieve the generated SQL query from it instead of actually running the query using Ecto.
Normally, to do that I would use Ecto.Adapters.SQL — Ecto SQL v3.11.1 but that function only supports all
, update_all
or delete_all
. It doesn’t support insert_all
Is there some way to do that?