UniqueIndex

harness.sql.mock.MockTable.UniqueIndex
final case class UniqueIndex[K](indexName: String, key: V => K)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final def find(k: K): Option[V]
final def get(k: K): IO[MissingExpectedKeyError, V]
final def removed(k: K): IO[MockError, T]
final def updated(k: K)(update: V => V): IO[MockError, T]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product