TableStorageParameter

abstract class TableStorageParameter

Base class for storage parameters included in the WITH clause at the very end of CREATE TABLE statements, after the closing parenthesis of the column definitions block and after any table modifiers.

Storage parameters are database-specific options for configuring table storage behavior. Used by PostgreSQL, SQL Server, and other databases.

Important: Storage parameters are only applied during table creation and are not tracked by Exposed's migration system. Changes to storage parameters will not be detected automatically.

Example SQL structure:

CREATE TABLE users (
id INT,
name VARCHAR(50)
) ENGINE=InnoDB -- Table modifiers appear here
WITH (fillfactor=70, autovacuum_enabled=false) -- Storage parameters appear here

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun toSQL(): String

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

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