Hacker News new | ask | show | jobs
by tony_landis 4621 days ago
I guess I don't understand why Datomic's entity id wouldn't work as your auto-incrementing id.

If you wanted something else, then why not just use a UUID to avoid relying on the DB?

Or if you are using a RDMS like postgres for datomic's underlying datastore, just manage a seq directly there.

One thing I have learned is trying to use one tool for every problem just creates a lot of headache.