ColumnPath

usql.dao.ColumnPath
See theColumnPath companion object
case class ColumnPath[R, T](root: SqlFielded[R], fields: List[String], alias: Option[String]) extends Selectable, SqlIdentifying

Helper for going through the field path of SqlFielded.

They can provide Identifiers and build getters like lenses do.

Type parameters

R

root model

T

end path

Attributes

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

Members list

Type members

Types

final type Child[X] = ColumnPath[R, X]
type Fields = Map[From[T], Child]

Value members

Concrete methods

def buildGetter: R => T

Build the identifier.

Build the identifier.

Attributes

Definition Classes
def selectDynamic(name: String): ColumnPath[R, _]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product