Skip to main content

LocalScoresOrderBy

Methods to use when ordering LocalScore.

enum LocalScoresOrderBy {
NATURAL
ENTITY_ID_ASC
ENTITY_ID_DESC
SPACE_ID_ASC
SPACE_ID_DESC
SCORE_ASC
SCORE_DESC
UPDATED_AT_ASC
UPDATED_AT_DESC
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
}

Values​

LocalScoresOrderBy.NATURAL​

No explicit ordering; results return in the database's natural order. Avoid for paginated queries — use a deterministic order instead.

LocalScoresOrderBy.ENTITY_ID_ASC​

Order results by entity id ascending.

LocalScoresOrderBy.ENTITY_ID_DESC​

Order results by entity id descending.

LocalScoresOrderBy.SPACE_ID_ASC​

Order results by space id ascending.

LocalScoresOrderBy.SPACE_ID_DESC​

Order results by space id descending.

LocalScoresOrderBy.SCORE_ASC​

Order results by score ascending.

LocalScoresOrderBy.SCORE_DESC​

Order results by score descending.

LocalScoresOrderBy.UPDATED_AT_ASC​

Order results by updated at ascending.

LocalScoresOrderBy.UPDATED_AT_DESC​

Order results by updated at descending.

LocalScoresOrderBy.PRIMARY_KEY_ASC​

Order results by primary key ascending.

LocalScoresOrderBy.PRIMARY_KEY_DESC​

Order results by primary key descending.

Member Of​

localScores query ● localScoresConnection query