kino_ecto
kino_ecto copied to clipboard
Support for MyXQL for Explain
First: Not sure how useful the explain is from mysql dbs, and how easy it would be to visualize. Need to start there I think.
Second:
- I attempted to add format=json actually giving back the data encoded from myxql here: https://github.com/elixir-ecto/myxql/pull/159. But it wasn't really doable in a good way.
- Next step might be to at least allow format json in ecto_sql (
Ecto.Adapters.MyXQL.Connection.build_explain_query
), and we can get a string of the json back and encode it ourselves.