What is the CouchDB global variable set?

Looking for a specific set of global variables available in CouchDB so I can help JSHint create a configuration to ignore them:

https://github.com/jshint/jshint/issues/issue/9

Now the list that I have is: emit, log, getRow, start, send, require.

I couldn't find it anywhere on the CouchDB wiki, or my wiki-fu is weakening>. <

+3
source share
1 answer

While the CouchDB documentation is improving rapidly, I'm not sure when this will be considered. You should probably study the source code. If you know Javascript, this is very easy to understand.

CouchDB. ( !) , require, util.js.

:

  • GetRow
  • IsArray
  • JSON
  • registerType
  • toJSON
+4

Source: https://habr.com/ru/post/1788877/


All Articles