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

typo.dsl.SqlFunction2.scala Maven / Gradle / Ivy

There is a newer version: 0.28.0
Show newest version
package typo.dsl

case class SqlFunction2[I1, I2, O](name: String, eval: (I1, I2) => O)

object SqlFunction2 {
  def strpos[T](implicit B: Bijection[T, String]) =
    new SqlFunction2[T, String, Int]("strpos", (i1, i2) => B.underlying(i1).indexOf(i2))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy