Skip to content

add zremrangebyrank #46

Closed
Closed

Description

@nivek3

add zremrangebyrank after here to remove some useless data information.

db.multi()
    .zremrangebyscore([key, 0, start])
    .zcard([key])
    .zadd([key, now, now])
    .zrange([key, 0, 0])
    .zrange([key, -max, -max])
    //.zremrangebyrank([key, 0, -(max + 1)])
    .pexpire([key, duration])
    .exec(function (err, res)

Activity

  1. noamshemesh commented on Mar 2, 2019

    @noamshemesh
    Collaborator

    can you please open a PR with relevant tests?

  2. nivek3 commented on Mar 2, 2019

    @nivek3
    ContributorAuthor

    Yes, I have created a PR and passed tests, please review the change.

  3. noamshemesh commented on Mar 2, 2019

    @noamshemesh
    Collaborator

    merged #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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