<p dir="ltr">I don't know about something pre-built... But it seems to me that what you are looking for is already being done via Active Record.  So have you looked at using Active Record inside Sinatra?</p>
<p dir="ltr">It would not do it automatically, but could easily be scripted, and give you an incredible level of control.</p>
<p dir="ltr">Kevin</p>
<div class="gmail_quote">On Jan 22, 2016 7:07 PM, "David Schwartz" <<a href="mailto:newsletters@thetoolwiz.com">newsletters@thetoolwiz.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p>Are there any tools that can be used to inspect a MySQL database and generate code for pairs of JSON/REST interfaces for selected tables — both client and server sides?</p>
<p>-David Schwartz</p>

<img src="https://u2206659.ct.sendgrid.net/wf/open?upn=6lpMB7VLnN-2Fj9-2FEErg8-2F-2BMBpb5QxlByTgv2M3fbWD9ebvC-2BWrN3h7jImK8EVWYBeuGzwKQUtqRACrPF8h4T9GOqX9RSYORBaMyVkT0VVUDIF-2BM7brjhJ73rdIzB8Yq7mcZiuOAhJMrTYGYqHAUOhShRGn6B3ZfximeQVCdVvpjH44eRLowmn2cdb0kM1SP9HxDf57ODDIA-2FshQJBJkmIugcva5bc9AVJ8-2FV9SbjCtx8-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div>