api-docs / org.ktorm.schema / ReferenceBinding
ReferenceBinding
data class ReferenceBinding : ColumnBinding
(source code)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.
Constructors
Name | Summary |
---|---|
ReferenceBinding( Bind the column to a reference table, equivalent to a foreign key in relational databases. |
Properties
Name | Summary |
---|---|
val onProperty: KProperty1<*, *> the property used to hold the referenced entity object. | |
val referenceTable: BaseTable<*> the reference table. |
Extension Functions
Name | Summary |
---|---|
infix fun <T : Any> T.eq( Equal operator, translated to | |
infix fun <T : Any> T.neq( Not-equal operator, translated to | |
infix fun <T : Any> T.notEq( Not-equal operator, translated to |