class KApplicationRecordClass
KApplicationRecordClass(klass: KClass<out ApplicationRecord>) |
val associations: List<KParameter>
Returns a List of all KParameter associations for this ApplicationRecord |
|
val asSymbol: String |
|
val belongsToAssociations: List<KParameter> |
|
val constructor: KFunction<ApplicationRecord> |
|
val directParameters: List<KParameter>
Returns a List of all KParameter directly defined on this class (except associations) |
|
val foreignKeyColumnName: String
eg: Video class -> video_id, Post class -> post_id |
|
val hasManyAssociations: List<KParameter> |
|
val klass: KClass<out ApplicationRecord> |
|
val tableName: String
Video class -> video TODO Pluralize irregular words (#49) TODO Camelize it (#50) |