Database.Float64

Database

64-bit floating-point column type.

Reducers

Types

Float64

type Float64 = Float64

64-bit floating-point column type.

Examples

type alias Row = { amount : Float64 }

access rows token
    |> reduce (Database.Float64.sum .amount)

Values

sum

sum : (row -> Float64) -> Reducer row FloatX

Compute the sum of the relevant rows.

Examples

access rows token
    |> reduce (Database.Float64.sum .amount)