Include States Model Collection
class IncludeStatesModelCollection<T : Any, C : KlerkContext>(previous: ModelCollection<T, C>, included: Set<String>?, excluded: Set<String>?) : ModelCollection<T, C>
Functions
Link copied to clipboard
fun filterStates(included: Set<String>? = null, excluded: Set<String>? = null): ModelCollection<T, C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <V> withReader(reader: Reader<C, V>, cursor: QueryListCursor?): Sequence<Model<T>>
Creates a Sequence of the Collection content. It is usually better to use the methods in Reader (query, list etc.) but if you must use this, be careful to not use it after you have released the Reader since that may lead to ConcurrentModificationException.