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. |