mariadb is valid result: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
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|Check if the result fetched from a query is valid or not.}}
{{FuncDescription|Check if the id is a valid result set that can be activated. The id comes from [[mariadb_save_result]].}}


{{FuncSyntax|mariadb_is_valid_result(id)}}
{{FuncSyntax|mariadb_is_valid_result(id)}}
Line 9: Line 9:
{{FuncParam|id|The result identifier.}}
{{FuncParam|id|The result identifier.}}


{{FuncReturnValue|Returns '''true''' on success.}}
{{FuncReturnValue|Returns '''true''' if it is valid.}}


== Example ==
== Example ==

Latest revision as of 08:54, 2 September 2020