mariadb async 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_async_query()}} {..." |
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 different parallel threads. Execution of order can not be guaranteed.}} | ||
{{FuncSyntax|mariadb_async_query()}} | {{FuncSyntax|mariadb_async_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:11, 30 August 2019
Description
Executes a query in different parallel threads. Execution of order can not be guaranteed.
Syntax
mariadb_async_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__