mariadb query: 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_query()}} {{FuncP..." |
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|Executes a query in a thread. Execution of order is as called.}} | ||
{{FuncSyntax|mariadb_query()}} | {{FuncSyntax|mariadb_query(handle, query_str [, callback_func, callback_args...])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{ | {{FuncParam|handle|Connection handle.}} | ||
{{FuncParam|query_str |The query to be executed.}} | |||
{{FuncParamOptional|callback_func|The function that will be called when the query was executed.}} | |||
{{FuncParamOptional|callback_args|Multiple arguments to pass to the callback_func.}} | |||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} |
Revision as of 08:12, 30 August 2019
Description
Executes a query in a thread. Execution of order is as called.
Syntax
mariadb_query(handle, query_str [, callback_func, callback_args...])
Parameters
- handle
Connection handle. - query_str
The query to be executed. - callback_func (optional)
The function that will be called when the query was executed. - callback_args (optional)
Multiple arguments to pass to the callback_func.
Return Value
- __EDIT_ME__
Example
__EDIT_ME__
See also
__EDIT_ME__