Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWarn on unindexed :avet seq `(d/datoms db :avet ...)` instead of => nil #344
Comments
|
Probably a good point. I think it should throw. d/datoms is index access, if there’s no index, no point emulating it. PR? |
(d/datoms db :avet :some-attr)returns nil if:some-attris unindexed. This is mentioned in the docs, but it's caught me twice now. Would it be possible ford/datomsto warn me when trying to seq over an unindexed attribute, or perhaps trigger a slow scan instead of returning nil?