mariadb get affected rows: 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_affected_rows(...")
 
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 affected rows if the query was a CRUD query.}}


{{FuncSyntax|mariadb_get_affected_rows()}}
{{FuncSyntax|mariadb_get_affected_rows()}}
Line 9: Line 9:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Number of affected rows. '''false''' on error.}}


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


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:MariaDBFunctions}}

Revision as of 14:25, 20 November 2019