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

Method CreateStatement

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

Source from the content-addressed store, hash-verified

645}
646
647std::shared_ptr<ODBCStatement> ODBCConnection::CreateStatement() {
648 std::shared_ptr<Statement> spi_statement = spi_connection_->CreateStatement();
649 std::shared_ptr<ODBCStatement> statement =
650 std::make_shared<ODBCStatement>(*this, spi_statement);
651 statements_.push_back(statement);
652 statement->CopyAttributesFromConnection(*this);
653 return statement;
654}
655
656void ODBCConnection::DropStatement(ODBCStatement* stmt) {
657 auto it = std::find_if(statements_.begin(), statements_.end(),

Callers 7

SQLAllocHandleFunction · 0.45
TestBindColumnFunction · 0.45
TestGetDataFunction · 0.45
TestBindColumnBigIntFunction · 0.45
TestGetTablesV2Function · 0.45
TestGetColumnsV3Function · 0.45
ConnectMethod · 0.45

Calls 2

push_backMethod · 0.80

Tested by 5

TestBindColumnFunction · 0.36
TestGetDataFunction · 0.36
TestBindColumnBigIntFunction · 0.36
TestGetTablesV2Function · 0.36
TestGetColumnsV3Function · 0.36