You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A unique identity attribute is always indexed by value, in order to support uniqueness checks. Specifying :db/index true is redundant and not recommended.
@jtmarmon Thanks - but datomic-schema doesn't automatically add the indexed property unless you've asked specifically to add it or you've said you want every attribute indexed, so I don't really see how this is relevant?
I'm merely suggesting that there should be an extra option or something...the point of index-all? is to follow datomic guidelines that you should index everything. Well part of those guidelines is to not index :unique-identity since it's already indexed
http://docs.datomic.com/identity.html#unique-identities
The text was updated successfully, but these errors were encountered: