# ToastTupleTargetParameter

class ToastTupleTargetParameter(value: Int) : Table.TableStorageParameter

PostgreSQL toast_tuple_target parameter.

Controls the minimum tuple length required before TOAST compression is attempted. Larger values may reduce CPU overhead at the cost of storage space.

Example:

    object Documents : Table("documents") {
        override val storageParameters = listOf(Table.ToastTupleTargetParameter(8160))
    }

Content copied to clipboard

Generates: `toast_tuple_target=8160`

## Constructors

ToastTupleTargetParameter
Link copied to clipboard
constructor(value: Int)

## Functions

toSQL
Link copied to clipboard
open override fun toSQL(): String

Returns the SQL string representation of this parameter for use in a WITH clause.

toString
Link copied to clipboard
open override fun toString(): String