Skip to content
New

Introducing Scale: SurrealDB Cloud for high availability and scale

Learn more

1/4

Part 3: Making it schemafull

They say relationships are the primary key to happiness.

In which case, I'm sure you must be very happy right now, having just made tons of relationships in the last part!

In this part, we'll cover how to:

  • Add schema definitions to tables and fields

  • Add constraints and assertions

  • Make use of the schemafull data patterns using schemafull CRUD

Hope you're excited to learn the schemafull way, let's get started.

Previous

Relational style joins

Next lesson

Define tables, views and changefeeds

SurrealDB

The context layer for AI agents.

Documents, graphs, vectors, time-series, and memory.
One transaction, one query, one deployment.

Explore with AI

Stay in the loop

Tutorials, AI agent recipes, and product updates, every two weeks.

Independently verified

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

Trust Centre

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom