Skip to main content

Module shape

Module shape 

Source
Expand description

Shape definition schema: parameterized boundaries for sync subscriptions.

A “shape” defines what subset of the database a Lite client sees. Three shape types:

  • Document shape: SELECT * FROM collection WHERE predicate
  • Graph shape: N-hop subgraph from a root node
  • Vector shape: collection + optional namespace filter

Structs§

ArchivedShapeDefinition
An archived ShapeDefinition
ShapeDefinition
A shape definition: describes which data falls within the subscription.
ShapeDefinitionResolver
The resolver for an archived ShapeDefinition

Enums§

ArchivedShapeType
An archived ShapeType
ShapeType
Shape type: determines how mutations are evaluated for inclusion.
ShapeTypeResolver
The resolver for an archived ShapeType