Easily manageable document ids

Issue #19 resolved
Ian Mayo
repo owner created an issue

To overcome replication problems in NoSQL databases, GUID values are used as keys.

But, these 20 char strings are not user-friendly. It would be really good if we had a user-manageable index: maybe a counter for how many documents are in the datastore.

We can choose to either insert our value in the "id" field, and accept the potential for duplication from replication, or documents inserted very quickly after each other. Or we retain the guid in the id field, and insert our own humanId field that contains the nice and friendly counter value.

Comments (2)

  1. Log in to comment