Skip to main content

VoteCondition

A condition to be used against Vote object types. All fields are tested for equality and combined with a logical ‘and.’

input VoteCondition {
id: Int
voterId: UUID
objectId: UUID
objectType: Int
spaceId: UUID
vote: Int
blockNumber: BigInt
blockTimestamp: Datetime
createdAt: Datetime
}

Fields

VoteCondition.id ● Int scalar

Checks for equality with the object’s id field.

VoteCondition.voterId ● UUID scalar

Checks for equality with the object’s voterId field.

VoteCondition.objectId ● UUID scalar

Checks for equality with the object’s objectId field.

VoteCondition.objectType ● Int scalar

Checks for equality with the object’s objectType field.

VoteCondition.spaceId ● UUID scalar

Checks for equality with the object’s spaceId field.

VoteCondition.vote ● Int scalar

Checks for equality with the object’s vote field.

VoteCondition.blockNumber ● BigInt scalar

Checks for equality with the object’s blockNumber field.

VoteCondition.blockTimestamp ● Datetime scalar

Checks for equality with the object’s blockTimestamp field.

VoteCondition.createdAt ● Datetime scalar

Checks for equality with the object’s createdAt field.

Member Of

votes query ● votesConnection query