English | 简体中文

api-docs / me.liuwj.ktorm.schema / ColumnBinding

ColumnBinding

sealed class ColumnBinding (source code)

Base class of column bindings. A column might be bound to a simple property, nested properties,
or a reference to another table.

Inheritors

NameSummary

NestedBinding

data class NestedBinding : ColumnBinding

Bind the column to nested properties, eg. employee.manager.department.id.

ReferenceBinding

data class ReferenceBinding : ColumnBinding

Bind the column to a reference table, equivalent to a foreign key in relational databases.
Entity sequence APIs would automatically left join all references (recursively) by default.