Back to Exposed

CompositeMoneyColumn

docs/api/exposed-money/org.jetbrains.exposed.v1.money/-composite-money-column.html

1.2.01.2 KB
Original Source

CompositeMoneyColumn

fun CompositeMoneyColumn(table: Table, precision: Int, scale: Int, amountName: String, currencyName: String): CompositeMoneyColumn<BigDecimal, CurrencyUnit, MonetaryAmount>

Creates a composite column made up of a numeric column, with the specified amountName, for storing numbers with the specified precision and scale, as wel as a character column, with the specified currencyName, for storing currency (as javax.money.CurrencyUnit).

Generated by Dokka © 2026 Copyright