Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1x 1x 1x 1x 1x 1x | // Package: com.lightningkite.lightningdb
// Generated by Khrysalis - this file will be overwritten.
import { Condition } from './Condition'
import { SortPart } from './SortPart'
import { ReifiedType, setUpDataClass } from '@lightningkite/khrysalis-runtime'
//! Declares com.lightningkite.lightningdb.Query
export class Query<T extends any> {
public constructor(public readonly condition: Condition<T> = new Condition.Always<T>(), public readonly orderBy: Array<SortPart<T>> = [], public readonly skip: number = 0, public readonly limit: number = 100) {
}
public static properties = ["condition", "orderBy", "skip", "limit"]
public static propertyTypes(T: ReifiedType) { return {condition: [Condition, T], orderBy: [Array, [SortPart, T]], skip: [Number], limit: [Number]} }
copy: (values: Partial<Query<T>>) => this;
equals: (other: any) => boolean;
hashCode: () => number;
}
setUpDataClass(Query)
|