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

Function CopyAttribute

cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_statement.cc:216–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void CopyAttribute(Statement& source, Statement& target,
217 Statement::StatementAttributeId attribute_id) {
218 auto optional_value = source.GetAttribute(attribute_id);
219 if (optional_value) {
220 target.SetAttribute(attribute_id, *optional_value);
221 }
222}
223} // namespace
224
225// Public

Callers 1

Calls 2

GetAttributeMethod · 0.45
SetAttributeMethod · 0.45

Tested by

no test coverage detected