<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[API Visual Insert - Results]]></title><description><![CDATA[<p dir="auto">Hi there, is it possbile to get some more information/feedback in the result json, i.e. the id of the record created?</p>
<p dir="auto"><img src="/assets/uploads/files/1613827591307-screenshot-2021-02-20-at-14.23.43.png" alt="Screenshot 2021-02-20 at 14.23.43.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://community.appdrag.com/topic/719/api-visual-insert-results</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 17:22:03 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/719.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Feb 2021 13:26:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to API Visual Insert - Results on Mon, 22 Feb 2021 07:27:01 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/190">@Dick-Honing</a>,</p>
<p dir="auto">I suppose your function is of type node and I need more information about your function</p>
<p dir="auto"><em>But a general example would be like this</em><br />
var query = <code>INSERT INTO users SET name='${name'};SELECT LAST_INSERT_ID();</code>;</p>
<p dir="auto">Thank you and have a nice day <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":slightly_smiling_face:" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/2929</link><guid isPermaLink="true">https://community.appdrag.com/post/2929</guid><dc:creator><![CDATA[David Alimi]]></dc:creator><pubDate>Mon, 22 Feb 2021 07:27:01 GMT</pubDate></item><item><title><![CDATA[Reply to API Visual Insert - Results on Sun, 21 Feb 2021 11:11:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/19">@David-Alimi</a> said in <a href="/post/2919">API Visual Insert - Results</a>:</p>
<blockquote>
<p dir="auto">SELECT LAST_INSERT_ID()</p>
</blockquote>
<p dir="auto">Hi David, thanks! ... but uh ... can I add this code to the API function? And if so, how? Thanks again and best regards - Dick</p>
]]></description><link>https://community.appdrag.com/post/2920</link><guid isPermaLink="true">https://community.appdrag.com/post/2920</guid><dc:creator><![CDATA[Dick Honing]]></dc:creator><pubDate>Sun, 21 Feb 2021 11:11:23 GMT</pubDate></item><item><title><![CDATA[Reply to API Visual Insert - Results on Sun, 21 Feb 2021 10:37:37 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/190">@Dick-Honing</a>,</p>
<p dir="auto">You can use "SELECT LAST_INSERT_ID();"<br />
The LAST_INSERT_ID() function returns the AUTO_INCREMENT id of the last row that has been inserted or updated in a table.</p>
<p dir="auto"><a href="https://dev.mysql.com/doc/refman/8.0/en/information-functions.html#function_last-insert-id" rel="nofollow ugc">Documentation MySQL here</a>.</p>
<p dir="auto">I hope I answer your question well.</p>
<p dir="auto">Thank you and have a nice day <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":slightly_smiling_face:" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/2919</link><guid isPermaLink="true">https://community.appdrag.com/post/2919</guid><dc:creator><![CDATA[David Alimi]]></dc:creator><pubDate>Sun, 21 Feb 2021 10:37:37 GMT</pubDate></item></channel></rss>