Merge Pool PR.

This commit is contained in:
Dave Conway-Jones
2021-05-18 09:11:41 +01:00
parent d8ba11ccdf
commit bb6491942e
2 changed files with 4 additions and 3 deletions

View File

@@ -11,8 +11,9 @@
By its very nature it allows SQL injection... so <i>be careful out there...</i></p>
<p><code>msg.topic</code> must hold the <i>query</i> for the database, and the result is returned in <code>msg.payload</code>.</p>
<p><code>msg.payload</code> can contain an array of values to bind to the topic.</p>
<p>Typically the returned payload will be an array of the result rows.</p>
<p>Typically the returned payload will be an array of the result rows. <b>Note</b>:
these are of type <i>RowDataPacket</i>, and not a completely standard object.</p>
<p>If nothing is found for the key then <i>null</i> is returned,</p>
<p>The reconnect timeout in milliseconds can be changed by adding a line to <b>settings.js</b>
<p>The reconnect timeout in milliseconds can be changed by adding a line in <b>settings.js</b>
<pre>mysqlReconnectTime: 30000,</pre></p>
</script>