Skip to content

Commit 0cbd458

Browse files
author
Ryan Neufeld
committed
Merge pull request clojure-cookbook#473 from cloojure/patch-32
Update 6-11_schema.asciidoc
2 parents 51a1140 + 548a0a1 commit 0cbd458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

06_databases/6-11_schema.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ can be related to--this means that entities can relate to themselves!
157157

158158
You also use +:db/valueType :db.type/ref+ and lone +:db/ident+ values
159159
to model enumerations, such as the user roles that you defined. These
160-
enumerations are not actually schemas; they are normal entities with a
160+
enumerations are not actually attributes; they are normal entities with a
161161
single attribute, +:db/ident+. An entity's +:db/ident+ value serves as
162162
a shorthand for that entity; you may use this value in lieu of the
163-
entity's +:db/id+ value in transactions and queries.
163+
entity ID (the +:db/id+ value) in transactions and queries.
164164

165165
Attributes with +:db/valueType :db.type/ref+ and +:db/unique+ values
166166
are implicitly indexed as though you had added +:db/index true+ to

0 commit comments

Comments
 (0)