CurrencyMapper

no.vedaadata.world.db.CurrencyMapper
trait CurrencyMapper extends PKMapper[Currency, String], TableDefinition

Attributes

Graph
Supertypes
trait TableDefinition
trait Constraints
trait PKMapper[Currency, String]
trait DualPKMapper[Currency, Currency, String]
trait DualPKMapperLike[Currency, Currency, String]
trait PK[String]
trait DualMapperLike[Currency, Currency]
trait AccessorLike
trait Deleting
trait Updating
trait Inserting
trait Writing
trait ReadOnlyPKMapperLike[Currency, String]
trait ReadOnlyPK[String]
trait PKUtil
trait ReadOnlyMapperLike[Currency]
trait MapperQuery[Currency]
trait Query
trait AggregateFunctions
trait Selecting
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
class Object
trait Matchable
class Any
Show all
Known subtypes
object Currency

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
Joining
Supertypes
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
Joining
Supertypes
trait DualJoinLike
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
AccessorLike
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MapperWriter
class AdhocJoining[DD <: Database, R1, R2](q1: QueryOf[DD, R1], q2: QueryOf[DD, R2])

Attributes

Inherited from:
Adhoc
Supertypes
class Object
trait Matchable
class Any
object Cascade extends ReferentialAction

Attributes

Inherited from:
Constraints
Supertypes
class Object
trait Matchable
class Any
sealed trait Constraint extends SingleSQL

Attributes

Inherited from:
Constraints
Supertypes
class SingleSQL
class SQL
class Renderable
class Object
trait Matchable
class Any
Show all
Known subtypes
trait DualJoin[C1, C2] extends DualJoinLike

Attributes

Inherited from:
Joining
Supertypes
trait DualJoinLike
class Object
trait Matchable
class Any
Known subtypes
class FullJoin2[C1, C2, ColType1, ColType2]
class Join2[C1, C2, ColType1, ColType2]
class LeftJoin2[C1, C2, ColType1, ColType2]
class RightJoin2[C1, C2, ColType1, ColType2]
trait DualJoinLike

Attributes

Inherited from:
Joining
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait DualJoin[C1, C2]
class FullJoin2[C1, C2, ColType1, ColType2]
class Join2[C1, C2, ColType1, ColType2]
class LeftJoin2[C1, C2, ColType1, ColType2]
class RightJoin2[C1, C2, ColType1, ColType2]
trait MapperJoin2Like[J]
trait MapperJoin2[J]
Show all
trait Foreign extends Field, ReadOnlyAccessorLike

Attributes

Inherited from:
Fields
Supertypes
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all
Known subtypes
trait AccessorJoin
trait MapperForeign[J]
trait MapperJoin[J]
trait MapperJoin2Like[J]
trait MapperJoin2[J]
Show all
class ForeignKey

Attributes

Inherited from:
Constraints
Supertypes
class Object
trait Matchable
class Any
object ForeignKey

Attributes

Inherited from:
Constraints
Supertypes
class Object
trait Matchable
class Any
abstract class FullJoin[C, ColType <: Col](val fk: ColType { type T = C; }) extends SingleJoin[C]

Attributes

Inherited from:
Joining
Supertypes
trait SingleJoin[C]
class Object
trait Matchable
class Any
abstract class FullJoin2[C1, C2, ColType1 <: Col, ColType2 <: Col](val fk1: ColType1 { type T = C1; }, val fk2: ColType2 { type T = C2; }) extends DualJoin[C1, C2]

Attributes

Inherited from:
Joining
Supertypes
trait DualJoin[C1, C2]
trait DualJoinLike
class Object
trait Matchable
class Any
abstract class Join[C, ColType <: Col](val fk: ColType { type T = C; }) extends SingleJoin[C]

Attributes

Inherited from:
Joining
Supertypes
trait SingleJoin[C]
class Object
trait Matchable
class Any
abstract class Join2[C1, C2, ColType1 <: Col, ColType2 <: Col](val fk1: ColType1 { type T = C1; }, val fk2: ColType2 { type T = C2; }) extends DualJoin[C1, C2]

Attributes

Inherited from:
Joining
Supertypes
trait DualJoin[C1, C2]
trait DualJoinLike
class Object
trait Matchable
class Any
abstract class LeftJoin[C, ColType <: Col](val fk: ColType { type T = C; }) extends SingleJoin[C]

Attributes

Inherited from:
Joining
Supertypes
trait SingleJoin[C]
class Object
trait Matchable
class Any
abstract class LeftJoin2[C1, C2, ColType1 <: Col, ColType2 <: Col](val fk1: ColType1 { type T = C1; }, val fk2: ColType2 { type T = C2; }) extends DualJoin[C1, C2]

Attributes

Inherited from:
Joining
Supertypes
trait DualJoin[C1, C2]
trait DualJoinLike
class Object
trait Matchable
class Any
trait MapperForeign[J] extends Foreign, Readable

Attributes

Inherited from:
Joining
Supertypes
trait Readable
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all
Known subtypes
trait MapperJoin[J]
trait MapperJoin2Like[J]
trait MapperJoin2[J]
trait MapperJoin[J] extends MapperForeign[J], SingleJoinLike

Attributes

Inherited from:
Joining
Supertypes
trait MapperForeign[J]
trait Readable
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all
trait MapperJoin2[J] extends MapperJoin2Like[J]

Attributes

Inherited from:
Joining
Supertypes
trait MapperJoin2Like[J]
trait DualJoinLike
trait MapperForeign[J]
trait Readable
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
Joining
Supertypes
trait DualJoinLike
trait MapperForeign[J]
trait Readable
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all
Known subtypes
trait MapperJoin2[J]
trait MapperJoin2Nullable[J] extends MapperJoin2Like[J]

Attributes

Inherited from:
Joining
Supertypes
trait MapperJoin2Like[J]
trait DualJoinLike
trait MapperForeign[J]
trait Readable
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
Joining
Supertypes
trait MapperForeign[J]
trait Readable
trait Foreign
trait ReadOnlyAccessorLike
trait Adhoc
trait Joining
trait Fields
trait TableLike
trait Field
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
DualMapperLike
Supertypes
class Object
trait Matchable
class Any
trait MapperWriter[X] extends Writer[X]

Attributes

Inherited from:
DualMapperLike
Supertypes
class Writer[X]
trait X => Seq[ColumnParam]
class Object
trait Matchable
class Any
object PK

Attributes

Inherited from:
DualPKMapperLike
Supertypes
class Object
trait Matchable
class Any
class PrimaryKey extends Constraint

Attributes

Inherited from:
Constraints
Supertypes
trait Constraint
class SingleSQL
class SQL
class Renderable
class Object
trait Matchable
class Any
Show all
object PrimaryKey

Attributes

Inherited from:
Constraints
Supertypes
class Object
trait Matchable
class Any
object R

Attributes

Inherited from:
ReadOnlyMapperLike
Supertypes
class Object
trait Matchable
class Any
object RW

Attributes

Inherited from:
DualMapperLike
Supertypes
class Object
trait Matchable
class Any
sealed trait ReferentialAction

Attributes

Inherited from:
Constraints
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Cascade
object Restrict
class ReferentialConstraint(columns: Seq[Column], ref: TableColumns, val name: Option[String]) extends Constraint

Attributes

Inherited from:
Constraints
Supertypes
trait Constraint
class SingleSQL
class SQL
class Renderable
class Object
trait Matchable
class Any
Show all
object Restrict extends ReferentialAction

Attributes

Inherited from:
Constraints
Supertypes
class Object
trait Matchable
class Any
abstract class RightJoin[C, ColType <: Col](val fk: ColType { type T = C; }) extends SingleJoin[C]

Attributes

Inherited from:
Joining
Supertypes
trait SingleJoin[C]
class Object
trait Matchable
class Any
abstract class RightJoin2[C1, C2, ColType1 <: Col, ColType2 <: Col](val fk1: ColType1 { type T = C1; }, val fk2: ColType2 { type T = C2; }) extends DualJoin[C1, C2]

Attributes

Inherited from:
Joining
Supertypes
trait DualJoin[C1, C2]
trait DualJoinLike
class Object
trait Matchable
class Any
class SelectHolder[S, A](r: R, s: S, selectReader: SelectReader[S, A], sql: SelectSQL)

Attributes

Inherited from:
Selecting
Supertypes
class Object
trait Matchable
class Any
trait SingleJoin[C] extends SingleJoinLike

Attributes

Inherited from:
Joining
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FullJoin[C, ColType]
class Join[C, ColType]
class LeftJoin[C, ColType]
class RightJoin[C, ColType]

Attributes

Inherited from:
Joining
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AccessorJoin
trait MapperJoin[J]
trait SingleJoin[C]
class FullJoin[C, ColType]
class Join[C, ColType]
class LeftJoin[C, ColType]
class RightJoin[C, ColType]
Show all
class Unique extends Constraint

Attributes

Inherited from:
Constraints
Supertypes
trait Constraint
class SingleSQL
class SQL
class Renderable
class Object
trait Matchable
class Any
Show all
object Unique

Attributes

Inherited from:
Constraints
Supertypes
class Object
trait Matchable
class Any
class UpdateWhere(whereExpr: Expr)

Attributes

Inherited from:
Updating
Supertypes
class Object
trait Matchable
class Any
case class Value(f: r.type => ColumnParam)

Attributes

Inherited from:
Writing
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Values(f: r.type => Seq[ColumnParam])

Attributes

Inherited from:
Writing
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait default[C]

Attributes

Inherited from:
TableDefinition
Supertypes
class Object
trait Matchable
class Any
trait identity extends notnull

Attributes

Inherited from:
TableDefinition
Supertypes
trait notnull
trait NotNullReadWritable
trait ReadWritable
trait Writable
trait Readable
class Object
trait Matchable
class Any
Show all
trait unique

Attributes

Inherited from:
TableDefinition
Supertypes
class Object
trait Matchable
class Any

Inherited types

type ColOf[C] = Col { type T = C; }

Attributes

Inherited from:
PKUtil
type D <: Database

Attributes

Inherited from:
Query
type GG

Attributes

Inherited from:
AccessorLike
type QueryOf[DD, RR] = Query { type D = DD; type R = RR; type QueryType = Query; }

Attributes

Inherited from:
Adhoc
override type QueryType = MapperQuery[Currency]

Attributes

Inherited from:
ReadOnlyPKMapperLike
type R = DualPKMapper.this.type

Attributes

Inherited from:
DualPKMapper
type W[X] = MapperWriter[X]

Attributes

Inherited from:
DualMapperLike

Value members

Concrete methods

def fields: Seq[Field]

Inherited methods

def *: Seq[Col]

Attributes

Inherited from:
ReadOnlyAccessorLike
def ++=[A](as: Seq[A])(implicit writer: MapperWriter[A], c: Connector[D]): List[GG]

Attributes

Inherited from:
Inserting
def +=[A](a: A)(implicit writer: MapperWriter[A], c: Connector[D]): Option[GG]

Attributes

Inherited from:
Inserting
def addConstraint(constraint: Constraint)(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
TableDefinition
def addConstraints()(implicit c: Connector[D]): Unit

Attributes

Inherited from:
TableDefinition
def addNonReferentialConstraints()(implicit c: Connector[D]): Unit

Attributes

Inherited from:
TableDefinition
def addReferentialConstraints()(implicit c: Connector[D]): Unit

Attributes

Inherited from:
TableDefinition
def aliasName: String

Attributes

Inherited from:
TableLike
def aliasPath: Seq[TableLike]

Attributes

Inherited from:
TableLike
def apply(f: CurrencyMapper => Column): TableColumns

Attributes

Inherited from:
ReadOnlyAccessorLike
def apply(value: String)(implicit c: Connector[D]): Option[Currency]

Attributes

Inherited from:
ReadOnlyPKMapperLike
override def at(value: String): QueryType { type QueryType = QueryType; type D = D; type R = R; }

Attributes

Definition Classes
PK -> ReadOnlyPK
Inherited from:
PK
def batchInsertMethod(sql: BatchInsertSQL)(implicit c: Connector[D]): List[GG]

Attributes

Inherited from:
AccessorLike
def batchInsertSql(columns: Seq[Column], paramsSeqs: Seq[Seq[Param[_]]]): BatchInsertSQL

Attributes

Inherited from:
Inserting
def cols: Seq[Col]

Attributes

Inherited from:
Fields
def count(f: R => Col)(implicit c: Connector[D]): Long

Attributes

Inherited from:
AggregateFunctions
def count()(implicit c: Connector[D]): Long

Attributes

Inherited from:
AggregateFunctions
def create()(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
TableDefinition
def create[U](f: String => U)(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
TableDefinition
def createTable()(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
TableDefinition
def delete(b: Currency)(implicit c: Connector[D]): Int

Attributes

Inherited from:
DualPKMapperLike
def deleteAt(value: String)(implicit c: Connector[D]): Int

Attributes

Inherited from:
PK
def deleteWhere(where: R => Expr)(implicit c: Connector[D]): Int

Attributes

Inherited from:
Deleting
def drop(areYouSure: Boolean)(implicit c: Connector[D]): Unit

Attributes

Inherited from:
TableDefinition
def dropConstraint(constraint: Constraint)(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
TableDefinition
def exists()(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
Query
def existsAt(value: String)(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
ReadOnlyPK
def existsWhere(w: R => Expr)(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
Query
def foreigns: Seq[Foreign]

Attributes

Inherited from:
Fields
def fromItem: FromItem

Attributes

Inherited from:
ReadOnlyAccessorLike
def fullName(implicit adapter: Adapter): String

Attributes

Inherited from:
TableLike
def fullNameAndAlias(implicit adapter: Adapter): String

Attributes

Inherited from:
TableLike
def get()(implicit c: Connector[D]): Currency

Attributes

Inherited from:
MapperQuery
def insert[A](a: A)(implicit writer: MapperWriter[A], c: Connector[D]): Option[GG]

Attributes

Inherited from:
Inserting
def insertAll[A](as: Seq[A])(implicit writer: MapperWriter[A], c: Connector[D]): List[GG]

Attributes

Inherited from:
Inserting
def insertMethod(sql: SingleInsertSQL)(implicit c: Connector[D]): Option[GG]

Attributes

Inherited from:
AccessorLike
def insertOrUpdate(b: Currency)(implicit writer: MapperWriter[Currency], c: Connector[D]): Either[Option[GG], Int]

Attributes

Inherited from:
DualPKMapperLike
def insertSql(columnValues: Seq[ColumnParam]): SingleInsertSQL

Attributes

Inherited from:
Inserting
def into[Coll[_]](factory: Factory[Currency, Coll[Currency]])(implicit c: Connector[D]): Coll[Currency]

Attributes

Inherited from:
MapperQuery
def list()(implicit c: Connector[D]): List[Currency]

Attributes

Inherited from:
MapperQuery
def max: Max.type

Attributes

Inherited from:
TableDefinition
def max[U](f: R => Col { type T = U; })(implicit c: Connector[D]): Option[U]

Attributes

Inherited from:
AggregateFunctions
def maxCompat[U](col: Col { type T = U; })(implicit c: Connector[D]): Option[U]

Attributes

Inherited from:
AggregateFunctions

Attributes

Inherited from:
Constraints
def option()(implicit c: Connector[D]): Option[Currency]

Attributes

Inherited from:
MapperQuery
def query(f: Currency => Any)(implicit c: Connector[D]): Matchable

Attributes

Inherited from:
MapperQuery

Attributes

Inherited from:
Constraints
def schema: SchemaLike

Attributes

Inherited from:
TableLike
protected def schemaTableName: List[String]

Attributes

Inherited from:
TableLike
def select[S, A](f: R => S)(implicit selecter: Selecter[S], selectReader: SelectReader[S, A]): SelectHolder[S, A]

Attributes

Inherited from:
Selecting
def selectForUpdate[S, A](f: R => S)(implicit selecter: Selecter[S], selectReader: SelectReader[S, A]): SelectHolder[S, A]

Attributes

Inherited from:
Selecting
def selectSql: SelectSQL

Attributes

Inherited from:
MapperQuery
protected def selectSql(s: SelectExpression, forUpdate: Boolean, locks: Seq[Lock]): SelectSQL

Attributes

Inherited from:
Query
def selectWithLock[S, A](locks: Lock*)(f: R => S)(implicit selecter: Selecter[S], selectReader: SelectReader[S, A]): SelectHolder[S, A]

Attributes

Inherited from:
Selecting
protected def tableAlias: String

Attributes

Inherited from:
TableLike
def tableExists(implicit c: Connector[D]): Boolean

Attributes

Inherited from:
TableDefinition
def tableName: String

Attributes

Inherited from:
TableLike
def test[Z](f: CurrencyMapper => Z): Nothing

Attributes

Inherited from:
ReadOnlyAccessorLike
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
TableLike -> Any
Inherited from:
TableLike
def underscoreName: String

Attributes

Inherited from:
TableLike
def update(value: String, a: Currency)(implicit writer: MapperWriter[Currency], c: Connector[D]): Int

Attributes

Inherited from:
DualPKMapperLike
def update(b: Currency)(implicit writer: MapperWriter[Currency], c: Connector[D]): Int

Attributes

Inherited from:
DualPKMapperLike
def updateAt(value: String): UpdateWhere

Attributes

Inherited from:
PK
def updateWhere(where: R => Expr): UpdateWhere

Attributes

Inherited from:
Updating
def where(whereFunc: R => Expr): QueryType { type QueryType = QueryType; type D = D; type R = R; }

Attributes

Inherited from:
ReadOnlyMapperLike
def whereExpr: Expr

Attributes

Inherited from:
Query

Concrete fields

val alphaCode: char & notnull
val minorUnit: int & nullable
val name: varchar & notnull
val numericCode: int & nullable
val pk: ColOf[String]
val pkf: Currency => String
val reader: Reader[Currency]

Inherited fields

val r: R

Attributes

Inherited from:
DualPKMapper

Implicits

Inherited implicits

implicit val tableLike: TableLike

Attributes

Inherited from:
TableLike