8000 The retrieval of the decimal column is becoming results.getjava.math.BigDecimal() · Issue #18 · sqlc-dev/sqlc-gen-kotlin · GitHub
[go: up one dir, main page]

Skip to content
The retrieval of the decimal column is becoming results.getjava.math.BigDecimal() #18
Closed
@Toru-Takagi

Description

@Toru-Takagi

When creating a decimal(19, 4) column in PostgreSQL, it generates a data class with a property of type java.math.BigDecimal? .

However, when generating a query for a table with this column, the code results.getjava.math.BigDecimal() is produced. It seems that the correct code should be results.getBigDecimal() .

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

      0