-
-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Description
Trying to get sum of money movements by calling
MoneyMovement.query(on: conn).sum(\MoneyMovement.quantity).flatMap { sumOfIncomes -> EventLoopFuture<Int64> in
//somehow `sumOfIncomes` is Double, that's strange because `MoneyMovement.quantity` is Int64
}but getting error
[ ERROR ] PostgreSQLError.binaryFloatingPoint: Could not decode Double from binary data type: NUMERIC.Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
