I have a question regarding using Datomic from Clojure, but I think it's
more of a Clojure question than a Datomic question
I understand that you must use namespaces in idents for logically distinct
types of entities. (Unless you intend them to be lumped together in the
same index.) Thus the :ids in two entities below don't conflict:
{:foo/id 1
:name "Name of a Foo"}
{:bar/id 1
:desc "Bar's don't have names, they have desc"}
So far so good.
My question is: do you expose this namespacing outside the model layer when
working in Clojure? I'm inclined to say that this namespacing is an
implementation detail of the database and so add/remove them in the model
layer. I would love to hear your opinions.
Stig
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.