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

Method Step

cpp/src/arrow/flight/sql/example/sqlite_statement.cc:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147SqliteStatement::~SqliteStatement() { sqlite3_finalize(stmt_); }
148
149arrow::Result<int> SqliteStatement::Step() {
150 int rc = sqlite3_step(stmt_);
151 if (rc == SQLITE_ERROR) {
152 return Status::ExecutionError("A SQLite runtime error has occurred: ",
153 sqlite3_errmsg(db_));
154 }
155
156 return rc;
157}
158
159arrow::Result<int> SqliteStatement::Reset() {
160 int rc = sqlite3_reset(stmt_);

Callers 2

CreateMethod · 0.80
ReadNextMethod · 0.80

Calls 1

ExecutionErrorFunction · 0.85

Tested by

no test coverage detected