Skip to main content

ProposalVotesOrderBy

Methods to use when ordering ProposalVote.

enum ProposalVotesOrderBy {
NATURAL
PROPOSAL_ID_ASC
PROPOSAL_ID_DESC
VOTER_ID_ASC
VOTER_ID_DESC
SPACE_ID_ASC
SPACE_ID_DESC
VOTE_ASC
VOTE_DESC
CREATED_AT_ASC
CREATED_AT_DESC
CREATED_AT_BLOCK_ASC
CREATED_AT_BLOCK_DESC
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
}

Values​

ProposalVotesOrderBy.NATURAL​

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

ProposalVotesOrderBy.PROPOSAL_ID_ASC​

Order results by proposal id ascending.

ProposalVotesOrderBy.PROPOSAL_ID_DESC​

Order results by proposal id descending.

ProposalVotesOrderBy.VOTER_ID_ASC​

Order results by voter id ascending.

ProposalVotesOrderBy.VOTER_ID_DESC​

Order results by voter id descending.

ProposalVotesOrderBy.SPACE_ID_ASC​

Order results by space id ascending.

ProposalVotesOrderBy.SPACE_ID_DESC​

Order results by space id descending.

ProposalVotesOrderBy.VOTE_ASC​

Order results by vote ascending.

ProposalVotesOrderBy.VOTE_DESC​

Order results by vote descending.

ProposalVotesOrderBy.CREATED_AT_ASC​

Order results by created at ascending.

ProposalVotesOrderBy.CREATED_AT_DESC​

Order results by created at descending.

ProposalVotesOrderBy.CREATED_AT_BLOCK_ASC​

Order results by created at block ascending.

ProposalVotesOrderBy.CREATED_AT_BLOCK_DESC​

Order results by created at block descending.

ProposalVotesOrderBy.PRIMARY_KEY_ASC​

Order results by primary key ascending.

ProposalVotesOrderBy.PRIMARY_KEY_DESC​

Order results by primary key descending.

Member Of​

proposalVotes query ● proposalVotesConnection query