Skip to main content

Class: FullPaginationArgs<CursorType>

Allows forward pagination of a Relay connection type

Type parameters​

NameType
CursorTypeextends Cursor = Cursor

Implements​

Constructors​

constructor​

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

Type parameters​

NameType
CursorTypeextends Cursor = Cursor

Returns​

FullPaginationArgs<CursorType>

Properties​

after​

• Optional after: CursorType

Grabs records starting from after the given cursor.

Implementation of​

ForwardPaginationArgs.after

Defined in​

index.ts:83


before​

• Optional before: CursorType

Grabs records ending before the given cursor.

Implementation of​

BackwardPaginationArgs.before

Defined in​

index.ts:65


first​

• Optional first: number

Grabs the first n records.

Implementation of​

ForwardPaginationArgs.first

Defined in​

index.ts:92


last​

• Optional last: number

Grabs the last n records.

Implementation of​

BackwardPaginationArgs.last

Defined in​

index.ts:74