<p>Wow! This looks really fantastic! </p>
<p>Thanks for sharing!</p>
<div class="gmail_quote">On Jul 17, 2013 12:42 PM, "Manuel A. Rubio "Bombadil <<a href="mailto:bombadil@bosqueviejo.net">bombadil@bosqueviejo.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
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.<br>
<br>
The main idea is you can receive a query as:<br>
<br>
SELECT password FROM users WHERE username = 'user42';<br>
<br>
And the 'gen_myproto' module developed, receives:<br>
<br>
#select{<br>
params = [ #key{name = <<"password">>} ],<br>
tables= [ #table{name = <<"users">>} ],<br>
conditions = #condition{<br>
nexo=eq,<br>
op1=#key{name = <<"username">>},<br>
op2=#value{value = <<"user42">>}<br>
}<br>
}<br>
<br>
I'm adding eunit tests too, in this moment I have tests only for PEG.<br>
<br>
More in the next releases :-)<br>
<br>
Regards.<br>
Manuel Rubio.<br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</blockquote></div>