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|__EDIT_ME__}}
{{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|__EDIT_ME__}}
{{FuncReturnValue|Number of warnings, '''false''' on error.}}


== Example ==
== Example ==
<syntaxhighlight lang="Lua>
__EDIT_ME__
__EDIT_ME__
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:MariaDBFunction}}

Revision as of 13:54, 20 November 2019

mariadb get warning count

Type: Function
Context: Server
Introduced: v1.0

NOTICE

This function is provided by the official MariaDB plugin.

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__

See also

Template:MariaDBFunction