kino_ecto icon indicating copy to clipboard operation
kino_ecto copied to clipboard

Support for MyXQL for Explain

Open vorce opened this issue 2 years ago • 3 comments

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.

vorce avatar Oct 21 '22 12:10 vorce