interface Association |
|
interface BelongsToAssociation<T : ApplicationRecord> : Association
Represents an association where a model A's table contains a foreign key to another model B's ApplicationRecord object, in a "A belongs to B" fashion. |
|
abstract class BelongsToAssociationImpl<T : ApplicationRecord> : BelongsToAssociation<T> |
|
interface HasManyAssociation<F : ApplicationRecord, T : ApplicationRecord> : MutableCollection<T>, Association
Represents a one-to-many association between models F and T respectively |
|
abstract class HasManyAssociationImpl<F : ApplicationRecord, T : ApplicationRecord> : HasManyAssociation<F, T> |
|
sealed class MaybeRecordId
Data type that represents ApplicationRecord.id. Can be either NoneId or RecordId to represent the fact that an ID may or may not exist depending on whether the record has been previously persisted to the DB or not. |
|
object NoneId : MaybeRecordId
ID for records that are only in-memory and not persisted in the database yet (or at all)
Since |
|
data class RecordId : MaybeRecordId
ID for records that have been previously persisted to the database and have an auto generated value. |