Skip to content

Commit def78a2

Browse files
witektonsky
authored andcommitted
Correct typo: :db/component -> :db/isComponent
1 parent 94a61e6 commit def78a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/datascript/core.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
(:_ref (entity db 2)) ; => [{:db/id 1}]
5555
(:ns/_ref (entity db 2)) ; => [{:db/id 1}]
5656
57-
Reverse reference lookup returns sequence of entities unless attribute is marked as `:db/component`:
57+
Reverse reference lookup returns sequence of entities unless attribute is marked as `:db/isComponent`:
5858
5959
(:_component-ref (entity db 2)) ; => {:db/id 1}
6060

0 commit comments

Comments
 (0)