Hi Erik,

I have a question about primary keys. As far as I can see you're
currently using the first field of the relation as a primary key.
While that's what other databases do (and it is working well), I think
it would be better to make _records_ themselves primary keys. Since
records are immutable they are guaranteed to be unique and comparing
them is essentially free. I have a feeling that would make whole lot
of things much easier (no need to check the primary key field for
uniqueness, no need to implement auto increment mechanisms, foreign
keys would just become actual records). What do you think about it?

Andrzej

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to