open class MockQuery<Type> : Query<Type>
Author
Benjamin Beeker
<init> |
MockQuery(vararg data: Type)MockQuery(data: Collection<Type> = Lists.newArrayList()) |
find |
open suspend fun find(): Type? |
limit |
open fun limit(limit: Int): Query<Type> |
order |
open fun order(field: String): Query<Type> |
query |
open suspend fun query(): QueryResult<Type> |
skip |
open fun skip(skip: Int): Query<Type> |
with |
open fun <AllowedValueType> with(field: String, operation: Operation<AllowedValueType>, value: AllowedValueType): Query<Type> |