couchdb-best-practices icon indicating copy to clipboard operation
couchdb-best-practices copied to clipboard

Properties undersocored or camelCase?

Open jo opened this issue 10 years ago • 1 comments

jo avatar May 19 '15 09:05 jo

In CouchDB underscore property names are used, like for example derived_key in user documents and user_ctx in relication docs. So I would recommend using this style. But on the otherhand at eha mostly camelCase is used, eg countryCode.

jo avatar May 19 '15 11:05 jo