RsToMany

annotation class RsToMany(val elementConverter: KClass<out RsValueConverter> = RsNoOpConverter::class, val classToMap: KClass<out Any> = Any::class)

Mark a property as a to-many collection. Use this when mapping values from the result of a JOIN statement. Must be of type List or Set with only one generic type parameter.

Properties

Link copied to clipboard

Specify a child entity class to map.

Link copied to clipboard

A converter class to convert a value of type classToMap (if set) or before adding it into the collection. Conversion result must not be null