MCPcopy Index your code
hub / github.com/dataease/SQLBot / applyReducer

Function applyReducer

frontend/public/swagger-ui-bundle.js:38667–38671  ·  view source on GitHub ↗
(s, o, i)

Source from the content-addressed store, hash-verified

38665 ((_[w] = applyOperation(s, o[w], i, !0, u, w)), (s = _[w].newDocument))
38666 return ((_.newDocument = s), _)
38667 }
38668 function applyReducer(s, o, i) {
38669 var a = applyOperation(s, o)
38670 if (!1 === a.test) throw new Do('Test operation failed', 'TEST_OPERATION_FAILED', i, o, s)
38671 return a.newDocument
38672 }
38673 function validator(s, o, i, a) {
38674 if ('object' != typeof s || null === s || Array.isArray(s))

Callers

nothing calls this directly

Calls 1

applyOperationFunction · 0.85

Tested by

no test coverage detected