MCPcopy Create free account
hub / github.com/apache/arrow / ODBCConnection

Method ODBCConnection

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_connection.cc:66–71  ·  view source on GitHub ↗

Public =========================================================================================

Source from the content-addressed store, hash-verified

64// Public
65// =========================================================================================
66ODBCConnection::ODBCConnection(ODBCEnvironment& environment,
67 std::shared_ptr<Connection> spi_connection)
68 : environment_(environment),
69 spi_connection_(std::move(spi_connection)),
70 is_2x_connection_(environment.GetODBCVersion() == SQL_OV_ODBC2),
71 is_connected_(false) {}
72
73Diagnostics& ODBCConnection::GetDiagnosticsImpl() {
74 return spi_connection_->GetDiagnostics();

Callers

nothing calls this directly

Calls 1

GetODBCVersionMethod · 0.80

Tested by

no test coverage detected