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

a8.sync.qubes.QubesKeyedMapper.scala Maven / Gradle / Ivy

There is a newer version: 1.0.0-20230212_1012_master
Show newest version
package a8.sync.qubes


import a8.shared.jdbcf.SqlString.SqlStringer
import zio.Task

/**
 *
 *needs to have the apps space and cube name
 *
 */
trait QubesKeyedMapper[A,B] extends QubesMapper[A] {

 def fetch(b: B)(implicit sqlStringer: SqlStringer[B], qubesApiClient: QubesApiClient): Task[A]
 def fetchOpt(b: B)(implicit sqlStringer: SqlStringer[B], qubesApiClient: QubesApiClient): Task[Option[A]]

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy