NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more

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.

THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later