Skip to content

Commit 163b69a

Browse files
committed
Two more minor changes as per @yoavrubin's comments.
1 parent 5746608 commit 163b69a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

functionalDB/chapter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This analogy is visualized in Figure 1:
3333
* Each slice is a labeled artifact (‘a’ through ‘e’).
3434
* Each artifact has a ‘color’ attribute (where white means that no update was made).
3535
* Black arrows denote a change in color between layers (e.g., from c.color @t2 to c.color @t0).
36-
* Light blue arrows are arbitrary relationships of interest between entities (e.g., from ‘b’ to ‘d’).
36+
* Light blue arrows are arbitrary relationships of interest between artifacts (e.g., from ‘b’ to ‘d’).
3737

3838
![image alt text](image_0.png)
3939

@@ -148,7 +148,7 @@ And here's our in-memory implementation of the protocol, which uses a map as the
148148
(drop-entity [storage entity] (dissoc storage (:id entity))))
149149
````
150150

151-
### Querying our Data
151+
### Indexing the Data
152152

153153
Now that we've defined the basic elements of our database, we can start thinking about how we're going to query it. By virtue of how we've structured our data, any query is necessarily going to be interested in at least one of an entity's ID, and the name and value of some of its attributes. This triplet of `(entity-id, attribute-name, attribute-value)` is important enough to our query process that we give it an explicit name: a _datom_.
154154

0 commit comments

Comments
 (0)