#include <sql.h>
|
| IGNITE_API void | execute_async (transaction *tx, cancellation_token *token, const sql_statement &statement, std::vector< primitive > args, ignite_callback< result_set > callback) |
| IGNITE_API result_set | execute (transaction *tx, cancellation_token *token, const sql_statement &statement, std::vector< primitive > args) |
| IGNITE_API void | execute_script_async (cancellation_token *token, const sql_statement &statement, std::vector< primitive > args, ignite_callback< void > callback) |
| IGNITE_API void | execute_script (cancellation_token *token, const sql_statement &statement, std::vector< primitive > args) |
◆ execute()
Executes a single SQL statement and returns rows.
- Parameters
-
| tx | Optional transaction. If nullptr implicit transaction for this single operation is used. |
| token | Cancellation token. Can be nullptr. |
| statement | Statement to execute. |
| args | Arguments for the statement (can be empty). |
- Returns
- SQL result set.
◆ execute_async()
Executes a single SQL statement asynchronously and returns rows.
- Parameters
-
| tx | Optional transaction. If nullptr implicit transaction for this single operation is used. |
| token | Cancellation token. Can be nullptr. |
| statement | Statement to execute. |
| args | Arguments for the statement (can be empty). |
| callback | A callback called on operation completion with SQL result set. |
◆ execute_script()
Executes a multi-statement SQL query.
- Parameters
-
| token | Cancellation token. Can be nullptr. |
| statement | Statement to execute. |
| args | Arguments for the template (can be empty). |
◆ execute_script_async()
Executes a multi-statement SQL query asynchronously.
- Parameters
-
| token | Cancellation token. Can be nullptr. |
| statement | Statement to execute. |
| args | Arguments for the template (can be empty). |
| callback | A callback called on operation completion with SQL result set. |
The documentation for this class was generated from the following files:
- ignite/client/sql/sql.h
- ignite/client/sql/sql.cpp