Hacker News new | ask | show | jobs
by paulddraper 775 days ago
No.

The difference is that IDs are part of the public API.

Your database schema (KV or otherwise) is not.

1 comments

Generally the data model of the API resembles the data model of the DB schema. IDs that are generic numbers could be considered an aspect of a "flat" data model, where the application code assigns semantics to lists of data that are less strictly structured (and have less strict identifiers).
But what difference is there if you use KV stores or DBMS with strict schema? There is no consequence on your public interface.

That was the comment.