closeStatement method

bool closeStatement(
  1. int stmtId
)

Closes and releases a prepared statement.

The stmtId must be a valid prepared statement identifier. Returns true on success, false on failure.

Implementation

bool closeStatement(int stmtId) {
  return _bindings.odbc_close_statement(stmtId) == 0;
}