VotesOrderBy
Methods to use when ordering Vote.
enum VotesOrderBy {
NATURAL
ID_ASC
ID_DESC
VOTER_ID_ASC
VOTER_ID_DESC
OBJECT_ID_ASC
OBJECT_ID_DESC
OBJECT_TYPE_ASC
OBJECT_TYPE_DESC
SPACE_ID_ASC
SPACE_ID_DESC
VOTE_ASC
VOTE_DESC
BLOCK_NUMBER_ASC
BLOCK_NUMBER_DESC
BLOCK_TIMESTAMP_ASC
BLOCK_TIMESTAMP_DESC
CREATED_AT_ASC
CREATED_AT_DESC
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
}
Values
VotesOrderBy.NATURAL
No explicit ordering; results return in the database's natural order. Avoid for paginated queries — use a deterministic order instead.
VotesOrderBy.ID_ASC
Order results by id ascending.
VotesOrderBy.ID_DESC
Order results by id descending.
VotesOrderBy.VOTER_ID_ASC
Order results by voter id ascending.
VotesOrderBy.VOTER_ID_DESC
Order results by voter id descending.
VotesOrderBy.OBJECT_ID_ASC
Order results by object id ascending.
VotesOrderBy.OBJECT_ID_DESC
Order results by object id descending.
VotesOrderBy.OBJECT_TYPE_ASC
Order results by object type ascending.
VotesOrderBy.OBJECT_TYPE_DESC
Order results by object type descending.
VotesOrderBy.SPACE_ID_ASC
Order results by space id ascending.
VotesOrderBy.SPACE_ID_DESC
Order results by space id descending.
VotesOrderBy.VOTE_ASC
Order results by vote ascending.
VotesOrderBy.VOTE_DESC
Order results by vote descending.
VotesOrderBy.BLOCK_NUMBER_ASC
Order results by block number ascending.
VotesOrderBy.BLOCK_NUMBER_DESC
Order results by block number descending.
VotesOrderBy.BLOCK_TIMESTAMP_ASC
Order results by block timestamp ascending.
VotesOrderBy.BLOCK_TIMESTAMP_DESC
Order results by block timestamp descending.
VotesOrderBy.CREATED_AT_ASC
Order results by created at ascending.
VotesOrderBy.CREATED_AT_DESC
Order results by created at descending.
VotesOrderBy.PRIMARY_KEY_ASC
Order results by primary key ascending.
VotesOrderBy.PRIMARY_KEY_DESC
Order results by primary key descending.
Member Of
votes query ● votesConnection query