[GH-ISSUE #40] Why is using forward slashes in _id discouraged? #190

Closed
opened 2026-04-04 22:00:40 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @tlvince on GitHub (May 17, 2015).
Original GitHub issue: https://github.com/jo/couchdb-best-practices/issues/40

Per https://github.com/eHealthAfrica/couchdb-best-practices/issues/39

Originally created by @tlvince on GitHub (May 17, 2015). Original GitHub issue: https://github.com/jo/couchdb-best-practices/issues/40 Per https://github.com/eHealthAfrica/couchdb-best-practices/issues/39
Author
Owner

@jo commented on GitHub (May 18, 2015):

http://docs.ehealthafrica.org/couchdb-best-practices/#a-note-about-/-in-document-ids

@gr2m do you want to add anything?

<!-- gh-comment-id:102997776 --> @jo commented on GitHub (May 18, 2015): http://docs.ehealthafrica.org/couchdb-best-practices/#a-note-about-/-in-document-ids @gr2m do you want to add anything?
Author
Owner

@gr2m commented on GitHub (May 18, 2015):

Fantastic work!!!! I'd love to be able to deep link to sections, I'll add a separate issue for that (I mean, while reading, I'd like to get the #anchor URL of the titles, like in GitHub READMEs)

If you need multiple independend unique properties per document you can create reserve documents for those properties.

What do you mean with reserve documents?

conflicts

We thought a lot about conflict management, and we have a dream API for future-hoodie: https://github.com/hoodiehq/wip-hoodie-store-on-pouchdb/issues/32. Maybe something interesting in there for https://github.com/jo/pouch-resolve-conflicts

<!-- gh-comment-id:103005424 --> @gr2m commented on GitHub (May 18, 2015): Fantastic work!!!! I'd love to be able to deep link to sections, I'll add a separate issue for that (I mean, while reading, I'd like to get the `#anchor` URL of the titles, like in GitHub READMEs) > If you need multiple independend unique properties per document you can create _reserve documents_ for those properties. What do you mean with `reserve documents`? > conflicts We thought a lot about conflict management, and we have a dream API for future-hoodie: https://github.com/hoodiehq/wip-hoodie-store-on-pouchdb/issues/32. Maybe something interesting in there for https://github.com/jo/pouch-resolve-conflicts
Author
Owner

@jo commented on GitHub (May 18, 2015):

reserved documents are meant as a way to enforce uniqueness for certain values, and are linked to the mother document via a 1:1 relation. But I have removed that sentence because it has several implications and would not fit in here.

<!-- gh-comment-id:103011234 --> @jo commented on GitHub (May 18, 2015): _reserved documents_ are meant as a way to enforce uniqueness for certain values, and are linked to the mother document via a 1:1 relation. But I have removed that sentence because it has several implications and would not fit in here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/couchdb-best-practices#190
No description provided.