<div dir="ltr"><div>dbh:query(string.format("SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1"), function(row)<br> fifo_uuid = row.uuid;<br>end);<br><br></div>Found it myself :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 6, 2015 at 9:56 PM, Paul Atreides <span dir="ltr"><<a href="mailto:paul.atreides83@googlemail.com" target="_blank">paul.atreides83@googlemail.com</a>></span> wrote:<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't get it :/<br>How do I pull of a single value from this query:<br><br>"SELECT uuid FROM fifo_intercept ORDER BY time_id DESC LIMIT 1"<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>
</blockquote></div><br></div>