SQLPropertyMapping
class in package klyn.data.sql.internal

    public final class SQLPropertyMapping:

SQLPropertyMapping

Validated immutable mapping of one Klyn property to one SQL column.

    print(mapping.columnName)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | columnName `columnName as String` | No summary.
public readonly property | generated `generated as Boolean` | No summary.
public readonly property | generationStrategy `generationStrategy as String` | No summary.
public readonly property | identity `identity as Boolean` | No summary.
public readonly property | length `length as Int` | No summary.
public readonly property | nullable `nullable as Boolean` | No summary.
public readonly property | precision `precision as Int` | No summary.
public readonly | property `property property as Property` | No summary.
public readonly property | scale `scale as Int` | No summary.
public readonly property | unique `unique as Boolean` | No summary.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | SQLPropertyMapping `SQLPropertyMapping( property as Property, columnName as String, identity as Boolean, generated as Boolean, nullable as Boolean, unique as Boolean = false, length as Int = 255, precision as Int = 0, scale as Int = 0, generationStrategy as String = "AUTO" ):` | Creates one validated property mapping shared by query and schema paths.