SQL Parser
SQL Parsers let you to parse SQL strings to generic SQL records.
Usage
If you want to use, only add this in rebar.config
using rebar3:
{deps, [
{sqlparser, "0.2.0"}
]}.
The way to use it in the code:
-include_lib("sqlparser/include/sqlparser.hrl").
parsing(SQL) ->
mysql_parser:parse(SQL).
Enjoy!