SqlNumeric

dataprism.platform.sql.value.SqlDbValues.SqlNumeric
See theSqlNumeric companion trait
object SqlNumeric

Attributes

Companion
trait
Source
SqlDbValues.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SqlNumeric.type

Members list

Type members

Types

type AvgResultOf[T] = T match { case Short | Int | Long => BigDecimal case Float | Double => Double case Option[a] => AvgResultOf[a] case Any => T }

Attributes

Source
SqlDbValues.scala
type SumResultOf[T] = T match { case Short | Int => Long case Long => BigDecimal case Float | Double => Double case Option[a] => SumResultOf[a] case Any => T }

Attributes

Source
SqlDbValues.scala

Value members

Concrete methods

def defaultInstance[A](sumType0: (Type[Nullable[A]]) => Type[Nullable[SumResultOf[A]]], avgType0: (Type[Nullable[A]]) => Type[Nullable[AvgResultOf[A]]])(using NullabilityOf[A]): SqlNumeric[A]

Attributes

Source
SqlDbValues.scala