src/Model.php
protected function getExistKeys($queryKeys)
    {
        $keys = $this->markUnboundFields($queryKeys);

        $exist = [];

        if ($keys) {
            $command = $this->commandFactory->getCommand('keys', $keys);

            $exist = $this->executeCommand($command);

            $exist = array_unique($exist);
        }

        return $exist;
    }
protected function getExistKeys($queryKeys)
    {
        $keys = $this->markUnboundFields($queryKeys);

        $exist = [];

        if ($keys) {
            $command = $this->commandFactory->getCommand('keys', $keys);

            $exist = $this->executeCommand($command);

            $exist = array_unique($exist);
        }

        return $exist;
    }
protected function getExistKeys ( $ queryKeys ) { $ keys = $ this -> markUnboundFields ( $ queryKeys ) ; $ exist = [ ] ; if ( $ keys ) { $ command = $ this -> commandFactory -> getCommand ( 'keys' , $ keys ) ; $ exist = $ this -> executeCommand ( $ command ) ; $ exist = array_unique ( $ exist ) ; } return $ exist ; }
Get existed keys in redis database

@param $queryKeys
@return array|mixed
Get existed keys in redis database