You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Kowalski (JIRA)" <ji...@apache.org> on 2016/01/06 16:16:39 UTC
[jira] [Created] (COUCHDB-2931) Mango: type and def should be
prefixed by underscore
Robert Kowalski created COUCHDB-2931:
----------------------------------------
Summary: Mango: type and def should be prefixed by underscore
Key: COUCHDB-2931
URL: https://issues.apache.org/jira/browse/COUCHDB-2931
Project: CouchDB
Issue Type: Bug
Components: Mango
Reporter: Robert Kowalski
Mango indexes which are exposed as docs have some properties that are special - I can't change them as a user.
Per convention those properties are prefixed by an underscore in CouchDB, i.e. _id and _rev
type and def should be also prefixed by an underscore, as it makes it easier to notice immediately that they are not properties which were provided by a user when processing them programatically. Additionally we signal the user that they can't change them directly, as they are special.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)