<div dir="ltr"><div>local var_a</div>dbh:query(<span style="font-size:12.8000001907349px">&quot;SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1&quot;, </span><div><span style="font-size:12.8000001907349px">   function(u)</span></div><div><span style="font-size:12.8000001907349px">      var_a = u.uuid</span></div><div><span style="font-size:12.8000001907349px">   end)<br></span><div><span style="font-size:12.8000001907349px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-06 22:56 GMT+03:00 Paul Atreides <span dir="ltr">&lt;<a href="mailto:paul.atreides83@googlemail.com" target="_blank">paul.atreides83@googlemail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>I am sorry I don&#39;t get it :/<br>How do I pull of a single value from this query:<br><br>&quot;SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1&quot;<br><br></div><div>How can I save the result into the variable fifo_uuid with dbh:query?<br><br></div><div><br></div><code></code><code></code></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>with best regards,</div><div>Dmitriy Borisov</div></div></div></div></div></div></div></div></div></div></div>
</div>