EntityPath

zio.blocks.projection.EntityPath
See theEntityPath companion object
trait EntityPath[A]

Describes where a projection entity A lives on disk and which field is its identifier.

basePath is the folder name (e.g. users derived from userId), entityIdField is the field name that holds the entity id.

Attributes

Companion
object
Source
EntityPath.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def basePath: String

Folder name for the projection's SQLite file(s).

Folder name for the projection's SQLite file(s).

Attributes

Source
EntityPath.scala
def entityIdField: String

Field name that holds the entity identifier.

Field name that holds the entity identifier.

Attributes

Source
EntityPath.scala