mariadb get warning count: 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_get_warning_count(..." |
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| | {{FuncDescription|Returns the number of warnings the sent query generated.}} | ||
{{FuncSyntax|mariadb_get_warning_count()}} | {{FuncSyntax|mariadb_get_warning_count()}} | ||
Line 9: | Line 9: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Number of warnings, '''false''' on error.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
__EDIT_ME__ | __EDIT_ME__ | ||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:MariaDBFunction}} |
Revision as of 13:54, 20 November 2019
Description
Returns the number of warnings the sent query generated.
Syntax
mariadb_get_warning_count()
Parameters
- This function has no parameters.
Return Value
- Number of warnings, false on error.
Example
__EDIT_ME__