api-docs / org.ktorm.entity / Entity / Factory / invoke
invoke
operator fun invoke(): E
(source code)Overload the invoke
operator, creating an entity object just like there is a constructor.
inline operator fun invoke(init: E.() -> Unit): E
(source code)Overload the invoke
operator, creating an entity object and call the init function.