Magidoc

photos
Query

Fetches a list of photos by given userID.

Arguments

#

after

Returns the elements in the list that come after the specified cursor.

afterIndex

Returns the elements in the list that come after the specified index.

before

Returns the elements in the list that come before the specified cursor.

beforeIndex

Returns the elements in the list that come before the specified index.

first

Returns the first n elements from the list.

fullText

A full-text search query for Photos.

last

Returns the last n elements from the list.

orderBy

The field to order the Photos by.

publishedAt

The date and time the Photos were published.

userId

ID !
Non-null

The ID of the User associated with the Photos.

Response

#

Returns QueryPhotoConnection .

Example

#

3