Skip to main content

votesCountByObjectIdAndObjectTypeAndSpaceId

Look up the cached vote tally for one object in one space.

votesCountByObjectIdAndObjectTypeAndSpaceId(
objectId: UUID!
objectType: Int!
spaceId: UUID!
): VotesCount

Arguments

votesCountByObjectIdAndObjectTypeAndSpaceId.objectId ● UUID! non-null scalar

votesCountByObjectIdAndObjectTypeAndSpaceId.objectType ● Int! non-null scalar

votesCountByObjectIdAndObjectTypeAndSpaceId.spaceId ● UUID! non-null scalar

Type

VotesCount object

A cached tally of votes on one content object in one space (sum of upvotes/downvotes/etc).