Skip to content

Max results #20

@arieljake-bluescape

Description

@arieljake-bluescape

Can we add a param to enable us to convert this:

if (self.from >= self.total) { self._next = false; // we got them all. }

into this:

if (self.from >= self.total || (self.max >= 0 && self.from >= self.max)) { self._next = false; // we got them all. }

perhaps:

function ReadableHits(queryExec, parseHit) { .... this.max = queryExec.max || -1; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions