doobie.util.compat.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doobie-core_3.0.0-RC3 Show documentation
Show all versions of doobie-core_3.0.0-RC3 Show documentation
Pure functional JDBC layer for Scala.
The newest version!
// Copyright (c) 2013-2020 Rob Norris and Contributors
// This software is licensed under the MIT License (MIT).
// For more information see LICENSE or https://opensource.org/licenses/MIT
package doobie.util
import java.{util => ju}
import scala.jdk.CollectionConverters._
import scala.collection.immutable.Map
package object compat {
type =:=[From, To] = scala.=:=[From, To]
def propertiesToScala(p: ju.Properties): Map[String, String] = p.asScala.toMap
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy