aries / net.globalid.aries.storage.wql.dsl

Package net.globalid.aries.storage.wql.dsl

Annotations

WalletQueryLanguageDslMaker

annotation class WalletQueryLanguageDslMaker

Functions

and

Extends QueryBuilder and method. The current implementation makes using $and combinator more idiomatically for Kotlin.

fun QueryBuilder.and(queries: List<SearchQuery> = emptyList(), block: QueryCombinatorBuilder.() -> Unit = {}): QueryBuilder

not

Extends QueryBuilder not method. The current implementation makes using $not combinator more idiomatically for Kotlin.

fun QueryBuilder.not(block: QueryBuilder.() -> Unit): QueryBuilder

or

Extends QueryBuilder or method. The current implementation makes using $or combinator more idiomatically for Kotlin.

fun QueryBuilder.or(queries: List<SearchQuery> = emptyList(), block: QueryCombinatorBuilder.() -> Unit = {}): QueryBuilder

query

Attaches block lambda function to QueryBuilder context Read more about Wallet Query Language

fun query(block: QueryBuilder.() -> Unit): SearchQuery

subquery

Extends QueryCombinatorBuilder subquery method. The current implementation makes using adding an new subquery to combinator builder more idiomatically for Kotlin.

fun QueryCombinatorBuilder.subquery(block: QueryBuilder.() -> Unit): QueryCombinatorBuilder