◆ execute() [1/5]
| long gpudb::GPUdb::execute | ( | const std::string & | sql | ) |
This method is used to execute a SQL statement (e.g., DML, DDL).
It returns the number of rows affected by the statement.
Parameters
| sql | - The SQL query to execute |
Returns
- number of rows affected by the execution of statement
◆ execute() [2/5]
| long gpudb::GPUdb::execute | ( | const std::string & | sql, |
| const std::string & | parameters ) |
This method is used to execute a SQL statement (e.g., DML, DDL).
It returns the number of rows affected by the statement.
Parameters
| sql | - The SQL query to execute |
| parameters | - Query parameters for the SQL query. Can be empty. |
Returns
- number of rows affected by the execution of statement
◆ execute() [3/5]
| long gpudb::GPUdb::execute | ( | const std::string & | sql, |
| const std::string & | parameters, | ||
| const std::map< std::string, std::string > & | options ) |
This method is used to execute a SQL statement (e.g., DML, DDL).
It returns the number of rows affected by the statement.
Parameters
| sql | - The SQL query to execute |
| parameters | - Query parameters for the SQL query. Can be empty. |
| options | - Optional parameters for the execute call. |
Returns
- number of rows affected by the execution of statement
◆ execute() [4/5]
template<typename T>
| long gpudb::GPUdb::execute | ( | const std::string & | sql, |
| const std::vector< T > & | parameters ) |
◆ execute() [5/5]
template<typename T>
| long gpudb::GPUdb::execute | ( | const std::string & | sql, |
| const std::vector< T > & | parameters, | ||
| const std::map< std::string, std::string > & | options ) |