All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalaz.std.effect.sql.PreparedStatement.scala Maven / Gradle / Ivy

package scalaz
package std.effect.sql

import effect.{IO, Resource}

import java.sql.PreparedStatement

trait PreparedStatementInstances {
  implicit val preparedStatementResource: Resource[PreparedStatement] = new Resource[PreparedStatement] {
    def close(r: PreparedStatement) = IO(r.close)
  }
}

object preparedStatement extends PreparedStatementInstances




© 2015 - 2024 Weber Informatics LLC | Privacy Policy