MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / TransferString

Function TransferString

src/cmd/display.h:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43namespace cmd {
44
45static void TransferString(std::vector<std::string>* vec) {
46 std::for_each(vec->begin(), vec->end(), [](std::string& str) {
47 if (str == ::fedb::codec::NONETOKEN) {
48 str = "-";
49 } else if (str == ::fedb::codec::EMPTY_STRING) {
50 str = "";
51 }
52 });
53}
54
55__attribute__((unused)) static void PrintSchema(
56 const google::protobuf::RepeatedPtrField<::fedb::common::ColumnDesc>& column_desc_field) {

Callers 3

HandleNSGetFunction · 0.85
HandleNSPreviewFunction · 0.85
ShowTableRowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected