function
getQuery(Database database, final String ignoreUserId)
uses fileld ignoreUserId inside View's mapper function. According to official docs it is incorrect :
"It must be a "pure" function: That means any time it's called with the same input, it must produce exactly the same output. In other words, it can't use any external state, just its input JSON."
function getQuery(Database database, final String ignoreUserId) uses fileld ignoreUserId inside View's mapper function. According to official docs it is incorrect : "It must be a "pure" function: That means any time it's called with the same input, it must produce exactly the same output. In other words, it can't use any external state, just its input JSON."