MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / makeArgument

Function makeArgument

src/Client/ConnectionString.cpp:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92std::string makeArgument(const std::string & connection_string_parameter_name)
93{
94 return (connection_string_parameter_name.size() == 1 ? "-"s : "--"s) + connection_string_parameter_name;
95}
96
97}
98

Callers 1

tryParseConnectionStringFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected