ADBC
Arrow Database Connectivity
Loading...
Searching...
No Matches
SQL Semantics

Functions

AdbcStatusCode AdbcStatementSetSqlQuery (struct AdbcStatement *statement, const char *query, struct AdbcError *error)
 Set the SQL query to execute.
 

Detailed Description

Functions for executing SQL queries, or querying SQL-related metadata. Drivers are not required to support both SQL and Substrait semantics. If they do, it may be via converting between representations internally.

Function Documentation

◆ AdbcStatementSetSqlQuery()

AdbcStatusCode AdbcStatementSetSqlQuery ( struct AdbcStatement * statement,
const char * query,
struct AdbcError * error )

Set the SQL query to execute.

The query can then be executed with AdbcStatementExecute. For queries expected to be executed repeatedly, AdbcStatementPrepare the statement first.

Parameters
[in]statementThe statement.
[in]queryThe query to execute.
[out]errorError details, if an error occurs.