def fromString()

in core/src/main/scala/org/apache/pekko/persistence/r2dbc/R2dbcSettings.scala [95:104]


  def fromString(value: String): Dialect = {
    toRootLowerCase(value) match {
      case "yugabyte" => Dialect.Yugabyte
      case "postgres" => Dialect.Postgres
      case "mysql"    => Dialect.MySQL
      case other =>
        throw new IllegalArgumentException(
          s"Unknown dialect [$other]. Supported dialects are [yugabyte, postgres, mysql].")
    }
  }