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

Function BooleanToString

cpp/src/arrow/flight/sql/column_metadata.cc:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37const char* BOOLEAN_FALSE_STR = "0";
38
39std::string BooleanToString(bool boolean_value) {
40 return boolean_value ? BOOLEAN_TRUE_STR : BOOLEAN_FALSE_STR;
41}
42
43bool StringToBoolean(const std::string& string_value) {
44 return string_value == BOOLEAN_TRUE_STR;

Callers 1

column_metadata.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected