Skip to content

Commit

Permalink
Correct typo: :db/component -> :db/isComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
witek authored and tonsky committed Sep 25, 2020
1 parent 94a61e6 commit def78a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datascript/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
(:_ref (entity db 2)) ; => [{:db/id 1}]
(:ns/_ref (entity db 2)) ; => [{:db/id 1}]
Reverse reference lookup returns sequence of entities unless attribute is marked as `:db/component`:
Reverse reference lookup returns sequence of entities unless attribute is marked as `:db/isComponent`:
(:_component-ref (entity db 2)) ; => {:db/id 1}
Expand Down

0 comments on commit def78a2

Please sign in to comment.