Skip to main content
Version: 0.3.0

SchemaManager

Schema validation and management for graph databases.

Overview​

const schema = client.schema();

await schema.validate(graphData);

Methods​

validate(data: GraphData)​

Validate graph data against schema.

define(schema: SchemaDefinition)​

Define a new schema.

migrate(migration: Migration)​

Apply schema migrations.

Examples​

See Schema Validation for detailed examples.