We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I already described that in vapor/fluent-postgres-driver#50
It throws error
[ ERROR ] PostgreSQLError.binaryFloatingPoint: Could not decode Double from binary data type: NUMERIC.
doesn't matter which column type set in the database, I tried with bigint and double precision
bigint
double precision
The text was updated successfully, but these errors were encountered:
add numeric parsing for binary floating point, fixes #56
66aa574
Fixed and added a test in #72. Thanks for reporting!
let conn = try PostgreSQLConnection.makeTest(transport: .cleartext) struct Sum: Decodable { var sum: Double } let rows = try conn.query("SELECT SUM(3.14) as sum", decoding: Sum.self).wait() switch rows.count { case 1: XCTAssertEqual(rows[0].sum, 3.14) default: XCTFail("invalid row count") }
Sorry, something went wrong.
tanner0101
No branches or pull requests
I already described that in vapor/fluent-postgres-driver#50
It throws error
doesn't matter which column type set in the database, I tried with
bigint
anddouble precision
The text was updated successfully, but these errors were encountered: