# EngineOption

class EngineOption(engine: Table.TableEngine) : Table.TableOption

MySQL/MariaDB storage engine option.

Example:

    object Users : Table("users") {
        override val options = listOf(Table.EngineOption(Table.TableEngine.INNODB))
    }

Content copied to clipboard

Generates: `ENGINE=InnoDB`

## Constructors

EngineOption
Link copied to clipboard
constructor(engine: Table.TableEngine)

## Functions

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

Returns the SQL string representation of this option.

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