lib/connection/pool.js
function canCompress(command) {
  const commandDoc = command instanceof Msg ? command.command : command.query;
  const commandName = Object.keys(commandDoc)[0];
  return uncompressibleCommands.indexOf(commandName) === -1;
}
function canCompress(command) {
  const commandDoc = command instanceof Msg ? command.command : command.query;
  const commandName = Object.keys(commandDoc)[0];
  return uncompressibleCommands.indexOf(commandName) === -1;
}
function canCompress ( command ) { const commandDoc = command instanceof Msg ? command . command : command . query ; const commandName = Object . keys ( commandDoc ) [ 0 ] ; return uncompressibleCommands . indexOf ( commandName ) === - 1 ; }
Return whether a command contains an uncompressible command term Will return true if command contains no uncompressible command terms
Return whether a command contains an uncompressible command term Will return true if command contains no uncompressible command terms