Skip to main content

ProposalsOrderBy

Methods to use when ordering Proposal.

enum ProposalsOrderBy {
NATURAL
ID_ASC
ID_DESC
SPACE_ID_ASC
SPACE_ID_DESC
PROPOSED_BY_ASC
PROPOSED_BY_DESC
VOTING_MODE_ASC
VOTING_MODE_DESC
START_TIME_ASC
START_TIME_DESC
END_TIME_ASC
END_TIME_DESC
QUORUM_ASC
QUORUM_DESC
THRESHOLD_ASC
THRESHOLD_DESC
EXECUTED_AT_ASC
EXECUTED_AT_DESC
CREATED_AT_ASC
CREATED_AT_DESC
CREATED_AT_BLOCK_ASC
CREATED_AT_BLOCK_DESC
NAME_ASC
NAME_DESC
YES_COUNT_ASC
YES_COUNT_DESC
NO_COUNT_ASC
NO_COUNT_DESC
ABSTAIN_COUNT_ASC
ABSTAIN_COUNT_DESC
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
}

Values

ProposalsOrderBy.NATURAL

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

ProposalsOrderBy.ID_ASC

Order results by id ascending.

ProposalsOrderBy.ID_DESC

Order results by id descending.

ProposalsOrderBy.SPACE_ID_ASC

Order results by space id ascending.

ProposalsOrderBy.SPACE_ID_DESC

Order results by space id descending.

ProposalsOrderBy.PROPOSED_BY_ASC

Order results by proposed by ascending.

ProposalsOrderBy.PROPOSED_BY_DESC

Order results by proposed by descending.

ProposalsOrderBy.VOTING_MODE_ASC

Order results by voting mode ascending.

ProposalsOrderBy.VOTING_MODE_DESC

Order results by voting mode descending.

ProposalsOrderBy.START_TIME_ASC

Order results by start time ascending.

ProposalsOrderBy.START_TIME_DESC

Order results by start time descending.

ProposalsOrderBy.END_TIME_ASC

Order results by end time ascending.

ProposalsOrderBy.END_TIME_DESC

Order results by end time descending.

ProposalsOrderBy.QUORUM_ASC

Order results by quorum ascending.

ProposalsOrderBy.QUORUM_DESC

Order results by quorum descending.

ProposalsOrderBy.THRESHOLD_ASC

Order results by threshold ascending.

ProposalsOrderBy.THRESHOLD_DESC

Order results by threshold descending.

ProposalsOrderBy.EXECUTED_AT_ASC

Order results by executed at ascending.

ProposalsOrderBy.EXECUTED_AT_DESC

Order results by executed at descending.

ProposalsOrderBy.CREATED_AT_ASC

Order results by created at ascending.

ProposalsOrderBy.CREATED_AT_DESC

Order results by created at descending.

ProposalsOrderBy.CREATED_AT_BLOCK_ASC

Order results by created at block ascending.

ProposalsOrderBy.CREATED_AT_BLOCK_DESC

Order results by created at block descending.

ProposalsOrderBy.NAME_ASC

Order results by name ascending.

ProposalsOrderBy.NAME_DESC

Order results by name descending.

ProposalsOrderBy.YES_COUNT_ASC

Order results by yes count ascending.

ProposalsOrderBy.YES_COUNT_DESC

Order results by yes count descending.

ProposalsOrderBy.NO_COUNT_ASC

Order results by no count ascending.

ProposalsOrderBy.NO_COUNT_DESC

Order results by no count descending.

ProposalsOrderBy.ABSTAIN_COUNT_ASC

Order results by abstain count ascending.

ProposalsOrderBy.ABSTAIN_COUNT_DESC

Order results by abstain count descending.

ProposalsOrderBy.PRIMARY_KEY_ASC

Order results by primary key ascending.

ProposalsOrderBy.PRIMARY_KEY_DESC

Order results by primary key descending.

Member Of

proposals query ● proposalsConnection query