Skip to content

Aggregate SUM function failsΒ #166

@Craz1k0ek

Description

@Craz1k0ek

The exact issue is described here. The sum function of Postgres can return several data types, which is not taken into account when executing the aggregate function.

The exact issue lies in the PostgresRow+Database.swift at line 42, where the sum is always decoded to an Int? even though a Double may be returned from the aggregate function.

Postgress Aggregate Functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions