Skip to content

//tempest2/app.cash.tempest2/Queryable/queryAllContents

queryAllContents

[jvm]\ abstract fun queryAllContents(keyCondition: KeyCondition<K>, asc: Boolean = true, pageSize: Int = 100, consistentRead: Boolean = false, filterExpression: Expression? = null, initialOffset: Offset<K>? = null): Sequence<I>

Executes a query and returns a sequence that contains all results, regardless of page size. New pages will be fetched as needed when the resulting sequence is enumerated.

[jvm]\ open fun queryAllContents(keyCondition: KeyCondition<K>): Sequence<I>

open fun queryAllContents(keyCondition: KeyCondition<K>, initialOffset: Offset<K>?): Sequence<I>

open fun queryAllContents(keyCondition: KeyCondition<K>, config: QueryConfig): Sequence<I>

open fun queryAllContents(keyCondition: KeyCondition<K>, config: QueryConfig, initialOffset: Offset<K>?): Sequence<I>