Skip to main content

VotesCountsOrderBy

Methods to use when ordering VotesCount.

enum VotesCountsOrderBy {
NATURAL
ID_ASC
ID_DESC
OBJECT_ID_ASC
OBJECT_ID_DESC
OBJECT_TYPE_ASC
OBJECT_TYPE_DESC
SPACE_ID_ASC
SPACE_ID_DESC
UPVOTES_ASC
UPVOTES_DESC
DOWNVOTES_ASC
DOWNVOTES_DESC
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
}

Values​

VotesCountsOrderBy.NATURAL​

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

VotesCountsOrderBy.ID_ASC​

Order results by id ascending.

VotesCountsOrderBy.ID_DESC​

Order results by id descending.

VotesCountsOrderBy.OBJECT_ID_ASC​

Order results by object id ascending.

VotesCountsOrderBy.OBJECT_ID_DESC​

Order results by object id descending.

VotesCountsOrderBy.OBJECT_TYPE_ASC​

Order results by object type ascending.

VotesCountsOrderBy.OBJECT_TYPE_DESC​

Order results by object type descending.

VotesCountsOrderBy.SPACE_ID_ASC​

Order results by space id ascending.

VotesCountsOrderBy.SPACE_ID_DESC​

Order results by space id descending.

VotesCountsOrderBy.UPVOTES_ASC​

Order results by upvotes ascending.

VotesCountsOrderBy.UPVOTES_DESC​

Order results by upvotes descending.

VotesCountsOrderBy.DOWNVOTES_ASC​

Order results by downvotes ascending.

VotesCountsOrderBy.DOWNVOTES_DESC​

Order results by downvotes descending.

VotesCountsOrderBy.PRIMARY_KEY_ASC​

Order results by primary key ascending.

VotesCountsOrderBy.PRIMARY_KEY_DESC​

Order results by primary key descending.

Member Of​

votesCounts query ● votesCountsConnection query