Skip to main content
server.TransitionsQuery

Methods

order

▸ order(order): TransitionsQuery Oldest first (the default) or newest first.

Parameters

Returns

TransitionsQuery

take

▸ take(n): Promise<Transition[]> Up to n entries, 1 to 64.

Parameters

Returns

Promise<Transition[]>

page

▸ page(n): Promise<{ transitions: Transition[] ; is_complete: boolean }> Up to n entries and whether they are all the row has.

Parameters

Returns

Promise<{ transitions: Transition[] ; is_complete: boolean }>

first

▸ first(): Promise<Transition | null> The first entry in this order, or null when the row has none.

Returns

Promise<Transition | null>