You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `enrollment` table highlights a challenge with the relational model, each table is based on a fixed schema that only supports a single data object type, which means you cannot store a student in the same table as their enrollment record.
62
62
63
-
==== Document Model
63
+
=== Document Model
64
64
65
65
Couchbase uses a document model that stores each record as a JSON document.
66
66
The document model:
@@ -185,7 +185,7 @@ collection:: Contains a set of documents. Couchbase provides you with a default
185
185
For more information, see xref:cloud:clusters:data-service/about-buckets-scopes-collections.adoc[Buckets, Scopes, and Collections].
186
186
187
187
188
-
== Create a Bucket, Scope, and Collection
188
+
=== Create a Bucket, Scope, and Collection
189
189
190
190
To continue this tutorial, you must create a bucket to hold all student data, a scope to narrow down the data into only data related to an art school, and two collections to narrow it down further into art school students and art school courses.
191
191
@@ -461,7 +461,7 @@ If you come across errors in your console, see the <<#roubleshooting,troubleshoo
461
461
You can retrieve your records using the <<#retrieve-with-query-editor,query editor>> or the <<#retrieve-with-sdk,SDK>>.
462
462
463
463
[#retrieve-with-query-editor]
464
-
=== With the Query Editor
464
+
=== Retrieving Records with the Query Editor
465
465
466
466
To retrieve the records with the Query Editor, you must first define an index.
467
467
@@ -597,7 +597,7 @@ The `META()` function call returns any property contained inside the document's
597
597
598
598
599
599
[#retrieve-with-sdk]
600
-
=== With the SDK
600
+
=== Retrieving Records with the SDK
601
601
602
602
You can also use {sqlpp} queries to retrieve your records with the SDK.
603
603
Unlike the query editor, you must include the name of the bucket and the scope to fully qualify the name of the collection in the {sqlpp} statement in your application.
0 commit comments