mariadb error: 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_error(handle_id)}}..."
 
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's the last error message (if any) as a string.}}


{{FuncSyntax|mariadb_error(handle_id)}}
{{FuncSyntax|mariadb_error(handle_id)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|handle_id|__EDIT_ME__}}
{{FuncParam|handle_id|Connection handle.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Last error message as a string. If there is none then it will return '''false'''.}}


== Example ==
== Example ==

Revision as of 18:53, 30 August 2020

mariadb error

Type: Function
Context: Server
Introduced: v1.0

NOTICE

This function is provided by the official MariaDB plugin.

Description

Get's the last error message (if any) as a string.

Syntax

mariadb_error(handle_id)

Parameters

  • handle_id
    Connection handle.

Return Value

  • Last error message as a string. If there is none then it will return false.

Example

__EDIT_ME__

See also

__EDIT_ME__