MCPcopy Index your code
hub / github.com/totaljs/framework / getDocumentIndex

Function getDocumentIndex

graphdb.js:1057–1059  ·  view source on GitHub ↗
(self, pageindex, count)

Source from the content-addressed store, hash-verified

1055}
1056
1057function getDocumentIndex(self, pageindex, count) {
1058 return ((pageindex - 1) * self.header.pagelimit) + (count || 1);
1059}
1060
1061function checkRelation(self, relation, indexA, indexB, callback) {
1062

Callers 3

addNodeFunction · 0.85
findDocumentFreeFunction · 0.85
graphdb.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected