mariadb unprocessed queries: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{Notice|This function is provided by the official MariaDB plugin.}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|mariadb_unprocessed_querie...")
 
No edit summary
Line 2: Line 2:
{{Notice|This function is provided by the official [[MariaDB]] plugin.}}
{{Notice|This function is provided by the official [[MariaDB]] plugin.}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get the number of unprocessed queries.}}


{{FuncSyntax|mariadb_unprocessed_queries(handle_id)}}
{{FuncSyntax|mariadb_unprocessed_queries(handle_id)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|handle_id|__EDIT_ME__}}
{{FuncParam|handle_id|The database handle.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns the number of unprocessed queries.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
print("Unprocessed queries: "..mariadb_unprocessed_queries(sql)..".")
<syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{MariaDBFunctions}}

Revision as of 20:18, 31 December 2019