Package-level declarations
An Exkt module providing handy utilities for Ktorm ORM.
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class ModificationTimestampAwareEntities<E : ModificationTimestampAware<E>>(tableName: String, createdAtColumnName: String? = null, updatedAtColumnName: String? = null) : Table<E> , ModificationTimestampAwareEntitiesBase
Link copied to clipboard
interface ModificationTimestampAwareEntitiesBase
Link copied to clipboard
Link copied to clipboard
interface UuidIdentifiedAndModificationTimestampAware<E : Entity<E>> : UuidIdentified<E> , ModificationTimestampAware<E>
Link copied to clipboard
abstract class UuidIdentifiedAndModificationTimestampAwareEntities<E : UuidIdentifiedAndModificationTimestampAware<E>>(tableName: String, idColumnName: String? = null, createdAtColumnName: String? = null, updatedAtColumnName: String? = null) : Table<E> , UuidIdentifiedEntitiesBase, ModificationTimestampAwareEntitiesBase
Link copied to clipboard
abstract class UuidIdentifiedEntities<E : UuidIdentified<E>>(tableName: String, idColumnName: String? = null) : Table<E> , UuidIdentifiedEntitiesBase
Link copied to clipboard
interface UuidIdentifiedEntitiesBase
Functions
Link copied to clipboard
fun <E : UuidIdentified<E>, T : UuidIdentifiedEntities<E>> Database.findByIdFrom(table: T, id: UUID): E?
fun <E : UuidIdentified<E>, T : UuidIdentifiedEntities<E>> Database.findByIdFrom(table: T, id: String): E?
Link copied to clipboard
fun <E : ModificationTimestampAware<E>, T : ModificationTimestampAwareEntities<E>> EntitySequence<E, T>.sortedByCreatedAt(): EntitySequence<E, T>
Link copied to clipboard
fun <E : ModificationTimestampAware<E>, T : ModificationTimestampAwareEntities<E>> EntitySequence<E, T>.sortedByCreatedAtDescending(): EntitySequence<E, T>
Link copied to clipboard
fun <E : ModificationTimestampAware<E>, T : ModificationTimestampAwareEntities<E>> EntitySequence<E, T>.sortedByUpdatedAt(): EntitySequence<E, T>
Link copied to clipboard
fun <E : ModificationTimestampAware<E>, T : ModificationTimestampAwareEntities<E>> EntitySequence<E, T>.sortedByUpdatedAtDescending(): EntitySequence<E, T>
Link copied to clipboard
fun <E : UuidIdentifiedAndModificationTimestampAware<E>, T : UuidIdentifiedAndModificationTimestampAwareEntities<E>> EntitySequence<E, T>.uuidIdentifiedEntitiesSortedByCreatedAt(): EntitySequence<E, T>
Link copied to clipboard
fun <E : UuidIdentifiedAndModificationTimestampAware<E>, T : UuidIdentifiedAndModificationTimestampAwareEntities<E>> EntitySequence<E, T>.uuidIdentifiedEntitiesSortedByCreatedAtDescending(): EntitySequence<E, T>
Link copied to clipboard
fun <E : UuidIdentifiedAndModificationTimestampAware<E>, T : UuidIdentifiedAndModificationTimestampAwareEntities<E>> EntitySequence<E, T>.uuidIdentifiedEntitiesSortedByUpdatedAt(): EntitySequence<E, T>
Link copied to clipboard
fun <E : UuidIdentifiedAndModificationTimestampAware<E>, T : UuidIdentifiedAndModificationTimestampAwareEntities<E>> EntitySequence<E, T>.uuidIdentifiedEntitiesSortedByUpdatedAtDescending(): EntitySequence<E, T>