code: protected function getWhereFromParameter(ParameterInterface $parameter)
      {
          if ($parameter instanceof IdAwareParameterInterface && $parameter->getId()) {
              return ['id' => $parameter->getId()];
          } else {
              return ['namespace' => $parameter->getNamespace(), 'name' => $parameter->getName()];
          }
      }
docs: Gets where condition of select, update or delete a parameter
  
  @param  ParameterInterface $parameter
  @return array