code: private function transferDefaultType(string $type, string $primaryKey, $default)
      {
          if (!empty($primaryKey)) {
              return null;
          }
  
          if ($default === null) {
              return null;
          }
  
          $default = trim($default);
          switch ($type) {
              case Types::INT:
              case Types::NUMBER:
                  $default = (int)$default;
                  break;
              case Types::BOOL:
                  $default = (bool)$default;
                  break;
              case Types::FLOAT:
                  $default = (float)$default;
                  break;
              default:
                  $default = sprintf('"%s"', $default);
                  break;
          }
  
          return $default;
      }
docs: @param string $type
  @param string $primaryKey
  @param mixed  $default
  
  @return bool|float|int|null|string