api-docs / org.ktorm.entity / EntityExtensionsApi
EntityExtensionsApi
class EntityExtensionsApi
(source code)Entity extension APIs.
Note these APIs are designed to be used by Ktorm’s 3rd party extensions, applications should not use them directly.
Since
3.5.0
Constructors
Name | Summary |
---|---|
EntityExtensionsApi() Entity extension APIs. |
Functions
Name | Summary |
---|---|
fun Entity<*>.getColumnValue(binding: ColumnBinding): Any? Get the specific column value from this entity, returning null if the value doesn’t exist. | |
fun Entity<*>.hasColumnValue(binding: ColumnBinding): Boolean Check if the specific column value exists in this entity. | |
fun Entity<*>.setColumnValue( Set the specific column’s value into this entity. |
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 |