Skip to content

Commit 192563f

Browse files
Add notes on analogies
1 parent 441e735 commit 192563f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

home/modules/ROOT/pages/get-started/schema.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
In the previous section we've created our TypeDB server instance and connected TypeDB Studio (or Console).
1111

12-
Now we'll use the server to create a database and initialize the schema. A TypeDB schema defines what data is permitted to be written to your database. Schemas are one of the key aspects of TypeDB: they allow the database to validate inserted data, check queries for validity, and perform query optimization. TypeDB's schemas are intuitive and built with higher-level building blocks compared to relational, document, or graph databases.
12+
Now we'll use the server to create a database and initialize the schema. A TypeDB schema defines what data is permitted to be written to your database. Think of schemas as your _blueprints_ for your data (or custom _dna_ from biology, or _classes_ in OOP).
13+
14+
Schemas are one of the key aspects of TypeDB: they allow the database to validate inserted data, check queries for validity, and perform query optimization. TypeDB's schemas are intuitive and built with higher-level building blocks compared to relational, document, or graph databases.
1315

1416
== TypeDB's data model at a glance
1517

home/modules/ROOT/pages/what-is-typedb.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ With TypeDB, you get a database that is designed to tackle those problems in an
6161
6262
TypeDB types can do far more than you'd initially expect. Not only can you define simple entities, relations, and attributes, you can also define subtype hierarchies, additional interface-like role types, and reusable functions.
6363
64-
These capabilities in turn compose with each other and interact polymorphicallyfor example, a user-defined function that can accept a `person` entity as an argument can also automatically take its subtype `child` entity as an argument!
64+
These capabilities in turn compose with each other and interact polymorphicallyfor example, a user-defined function that can accept a `person` entity as an argument can also automatically take its subtype `child` entity as an argument!
6565
6666
[,typeql]
6767
----

0 commit comments

Comments
 (0)