Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class FullText

Annotation marking a property as having a full-text index, which will enable full-text queries on it. Full-text searches are done using the TEXT predicate, e.g.:

Link copied to clipboard
annotation class Ignore

Annotation marking a field as ignored inside Realm, meaning that it will not be part of the models' schema.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Index

Annotation marking a field as indexed.

Link copied to clipboard
annotation class PersistedName(val name: String)

Annotation mapping a Kotlin class or field name to the name persisted in the Realm.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class PrimaryKey

Annotation marking a field as a primary key inside Realm.