Skip to main content

searchConnection

Reads and enables pagination through a set of Entity.

searchConnection(
query: String
spaceId: UUID
similarityThreshold: Float
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
filter: EntityFilter
): EntitiesConnection

Arguments

searchConnection.query ● String scalar

searchConnection.spaceId ● UUID scalar

searchConnection.similarityThreshold ● Float scalar

searchConnection.first ● Int scalar

Only read the first n values of the set.

searchConnection.last ● Int scalar

Only read the last n values of the set.

searchConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

searchConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

searchConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

searchConnection.filter ● EntityFilter input

A filter to be used in determining which values should be returned by the collection.

Type

EntitiesConnection object

A connection to a list of Entity values.