-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for EXPLAIN statement #231
Commits on May 24, 2020
-
Add support for EXPLAIN statement
It's still a WIP to gather feedback
Leandro Cesquini Pereira committedMay 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 3b5145d - Browse repository at this point
Copy the full SHA 3b5145dView commit details
Commits on May 26, 2020
-
Implement explain_query callback
Leandro Cesquini Pereira committedMay 26, 2020 Configuration menu - View commit details
-
Copy full SHA for f28c842 - Browse repository at this point
Copy the full SHA f28c842View commit details
Commits on May 27, 2020
-
Add all explain options for Postgres from v9 to v12
and addressed review comments. TODO: implement EXPLAIN for tds and myxql
Leandro Cesquini Pereira committedMay 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 6c0e844 - Browse repository at this point
Copy the full SHA 6c0e844View commit details
Commits on May 29, 2020
-
Add support for all Postgres versions
Leandro Cesquini Pereira committedMay 29, 2020 Configuration menu - View commit details
-
Copy full SHA for d46c264 - Browse repository at this point
Copy the full SHA d46c264View commit details -
Leverage Ecto.Multi to guarantee a rollback after EXPLAIN statement
Leandro Cesquini Pereira committedMay 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 941d2cb - Browse repository at this point
Copy the full SHA 941d2cbView commit details -
Leverage iodata on explain query and add explain output callback
Each adapter should be responsible for how to format the output of the EXPLAIN statement
Leandro Cesquini Pereira committedMay 29, 2020 Configuration menu - View commit details
-
Copy full SHA for d25ba1c - Browse repository at this point
Copy the full SHA d25ba1cView commit details -
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 15cd28f - Browse repository at this point
Copy the full SHA 15cd28fView commit details -
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e62542d - Browse repository at this point
Copy the full SHA e62542dView commit details -
Update lib/ecto/adapters/postgres/connection.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6d08ba7 - Browse repository at this point
Copy the full SHA 6d08ba7View commit details -
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7451fd9 - Browse repository at this point
Copy the full SHA 7451fd9View commit details -
- Only accept true/false values for options (raise if not) - Fix doc - Raise if query fails (call query! instead of query)
Leandro Cesquini Pereira committedMay 29, 2020 Configuration menu - View commit details
-
Copy full SHA for d34b522 - Browse repository at this point
Copy the full SHA d34b522View commit details
Commits on Jun 1, 2020
-
Format mysql explain output as a table
Leandro Cesquini Pereira committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 03002f2 - Browse repository at this point
Copy the full SHA 03002f2View commit details -
Raise for Tds because currently it lacks support for multiple sets
Leandro Cesquini Pereira committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 8fcf356 - Browse repository at this point
Copy the full SHA 8fcf356View commit details -
Fix explain query for postgres > v9.0
Leandro Cesquini Pereira committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 24fe371 - Browse repository at this point
Copy the full SHA 24fe371View commit details
Commits on Jun 2, 2020
-
Update lib/ecto/adapters/tds/connection.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0a22eac - Browse repository at this point
Copy the full SHA 0a22eacView commit details -
Improve docs and fix TDS raise message
Leandro Cesquini Pereira committedJun 2, 2020 Configuration menu - View commit details
-
Copy full SHA for a9ad09a - Browse repository at this point
Copy the full SHA a9ad09aView commit details -
Refactor so the adapter runs the query and format output
That way Ecto.Adapters.SQL is responsible for providing the public API, controlling the execution, and making sure explain doesn't cause side effects, while each adapter has control over which query function to call, mostly to support TDS multiple result sets. Also: - Add explain! - More tests
Leandro Cesquini Pereira committedJun 2, 2020 2Configuration menu - View commit details
-
Copy full SHA for a95bb00 - Browse repository at this point
Copy the full SHA a95bb00View commit details
Commits on Jun 3, 2020
-
Revert to explain raising on invalid queries
Leandro Cesquini Pereira committedJun 3, 2020 Configuration menu - View commit details
-
Copy full SHA for cee7a28 - Browse repository at this point
Copy the full SHA cee7a28View commit details
Commits on Jun 6, 2020
-
Leandro Cesquini Pereira committed
Jun 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 9367b63 - Browse repository at this point
Copy the full SHA 9367b63View commit details -
Unify explain_opts and shared_opts
Leandro Cesquini Pereira committedJun 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 4f360f5 - Browse repository at this point
Copy the full SHA 4f360f5View commit details -
Split keywords to avoid passing unecessary opts downstream
Leandro Cesquini Pereira committedJun 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 44f8b39 - Browse repository at this point
Copy the full SHA 44f8b39View commit details -
Leandro Cesquini Pereira committed
Jun 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 507f782 - Browse repository at this point
Copy the full SHA 507f782View commit details -
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e881efa - Browse repository at this point
Copy the full SHA e881efaView commit details -
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a0dc8e9 - Browse repository at this point
Copy the full SHA a0dc8e9View commit details -
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9f958ea - Browse repository at this point
Copy the full SHA 9f958eaView commit details -
Leandro Cesquini Pereira committed
Jun 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 1efd817 - Browse repository at this point
Copy the full SHA 1efd817View commit details -
Leandro Cesquini Pereira committed
Jun 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 9943af6 - Browse repository at this point
Copy the full SHA 9943af6View commit details
Commits on Jun 7, 2020
-
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 72f89d9 - Browse repository at this point
Copy the full SHA 72f89d9View commit details -
Update lib/ecto/adapters/sql.ex
Co-authored-by: José Valim <jose.valim@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d6d4c0a - Browse repository at this point
Copy the full SHA d6d4c0aView commit details -
Leandro Cesquini Pereira committed
Jun 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 9d5ba8d - Browse repository at this point
Copy the full SHA 9d5ba8dView commit details