• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Tags
    3. sorted set
    Log in to post
    • All categories
    • Doppy

      How get the "score" value when I put an element in a sortedSet
      Plugin Development • plugin mongo mongodb sorted set • • Doppy

      4
      0
      Votes
      4
      Posts
      2009
      Views

      baris

      No they return the score of the value.

      db.sortedSetScore(set, data.name, function(err, score) { console.log(score); });
    • L

      getSortedSetRangeByScoreWithScores
      Feature Requests • sorted set withscores database • • lpeachl

      3
      0
      Votes
      3
      Posts
      1574
      Views

      baris

      @lpeachl said:

      getSortedSetRangeWithScores
      getSortedSetRangeByScoreWithScores

      Added in https://github.com/NodeBB/NodeBB/commit/1fe82ee45207fe82671d9e8f43ac74309e4586bd

      0 barisusakli committed to NodeBB/NodeBB added 2 new methods to dbal getSortedSetRangeWithScores getSortedSetRangeByScoreWithScores

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact