Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @sidorares,
Wanted to share what I am using mysql2 for. Also I just published a blog post about it.
Basically for a while now I have been developing Plywood which is an OLAP focused query planner. It provides a query layer to make it convenient to write interactive applications. While Plywood can and will eventually support many backends, currently it supports MySQL, Druid, and native JS.
PlyQL is a MySQL compatible(ish) language that gets translated into Plywood. Recently I integrated mysql2 into plyql, a command line tool, that effectively provides a SQL interface to Druid - Druid does not speak SQL natively.
plyql goes far to support all sorts of metadata queries that typical ODBC and JDBC drivers make, you know stuff like this, this, and this. I plan to continue developing plyql (and mysql2) to a point where most read-only operations in most MySQL clients will be supported.