RelationVersion
Historical snapshot of one relation as it existed in a specific edit. Used for time-travel queries and version history.
type RelationVersion implements Node {
nodeId: ID!
id: UUID!
relationId: UUID!
entityId: UUID!
typeId: UUID!
fromEntityId: UUID!
fromSpaceId: UUID
toEntityId: UUID!
toSpaceId: UUID
position: String
spaceId: UUID!
verified: Boolean
validFromKey: BigInt!
validToKey: BigInt
contextRootId: UUID
contextEdgeTypeId: UUID
}
Fields
RelationVersion.nodeId ● ID! non-null scalar
A globally unique identifier. Can be used in various places throughout the system to identify this single value.
RelationVersion.id ● UUID! non-null scalar
RelationVersion.relationId ● UUID! non-null scalar
RelationVersion.entityId ● UUID! non-null scalar
RelationVersion.typeId ● UUID! non-null scalar
RelationVersion.fromEntityId ● UUID! non-null scalar
RelationVersion.fromSpaceId ● UUID scalar
RelationVersion.toEntityId ● UUID! non-null scalar
RelationVersion.toSpaceId ● UUID scalar
RelationVersion.position ● String scalar
RelationVersion.spaceId ● UUID! non-null scalar
RelationVersion.verified ● Boolean scalar
RelationVersion.validFromKey ● BigInt! non-null scalar
RelationVersion.validToKey ● BigInt scalar
RelationVersion.contextRootId ● UUID scalar
RelationVersion.contextEdgeTypeId ● UUID scalar
Interfaces
Node interface
An object with a globally unique ID.
Returned By
relationVersion query ● relationVersionByNodeId query ● relationVersions query
Member Of
RelationVersionsConnection object ● RelationVersionsEdge object
:::tip See also
Cookbook recipes that use this:
:::