[erlang-questions] [ANN] myproto 0.2.0

Jesse Gumm gumm@REDACTED
Wed Jul 17 22:31:31 CEST 2013


Wow! This looks really fantastic!

Thanks for sharing!
On Jul 17, 2013 12:42 PM, "Manuel A. Rubio "Bombadil <
bombadil@REDACTED> wrote:

> Hi,
>
> new release of the MySQL server side protocol. I only add a new feature, a
> PEG for MySQL parse and a new (optional) config param to activate or
> deactivate it. By default this feature is off.
>
> The main idea is you can receive a query as:
>
>   SELECT password FROM users WHERE username = 'user42';
>
> And the 'gen_myproto' module developed, receives:
>
>   #select{
>     params = [ #key{name = <<"password">>} ],
>     tables= [ #table{name = <<"users">>} ],
>     conditions = #condition{
>         nexo=eq,
>         op1=#key{name = <<"username">>},
>         op2=#value{value = <<"user42">>}
>     }
>   }
>
> I'm adding eunit tests too, in this moment I have tests only for PEG.
>
> More in the next releases :-)
>
> Regards.
> Manuel Rubio.
> ______________________________**_________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130717/587694e8/attachment.htm>


More information about the erlang-questions mailing list