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

Method writeCommand

base/poco/Redis/src/Client.cpp:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154void Client::writeCommand(const Array& command, bool doFlush)
155{
156 poco_assert(_output);
157
158 std::string commandStr = command.toString();
159
160 _output->write(commandStr.c_str(), commandStr.length());
161 if (doFlush) _output->flush();
162}
163
164
165RedisType::Ptr Client::readReply()

Callers

nothing calls this directly

Calls 4

toStringMethod · 0.45
writeMethod · 0.45
lengthMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected