Skip to main content

Class: BackwardPaginationArgs<CursorType>

Allows backward pagination of a relay connection type

Type parameters​

NameType
CursorTypeextends Cursor = Cursor

Implemented by​

Constructors​

constructor​

• new BackwardPaginationArgs<CursorType>(): BackwardPaginationArgs<CursorType>

Type parameters​

NameType
CursorTypeextends Cursor = Cursor

Returns​

BackwardPaginationArgs<CursorType>

Properties​

before​

• Optional before: CursorType

Grabs records ending before the given cursor.

Defined in​

index.ts:42


last​

• Optional last: number

Grabs the last n records.

Defined in​

index.ts:51