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

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

The newest version!
package typo.dsl

case class DeleteParams[Fields](where: List[Fields => SqlExpr[Boolean, Required]]) {
  def where(v: Fields => SqlExpr[Boolean, Required]): DeleteParams[Fields] =
    copy(where = where :+ v)
}

object DeleteParams {
  def empty[Fields]: DeleteParams[Fields] =
    DeleteParams[Fields](List.empty)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy