1. 10 Sep, 2020 1 commit
  2. 20 Jul, 2020 1 commit
  3. 12 Jun, 2020 2 commits
    • antirez's avatar
      help.h updated. · 0cae0900
      antirez authored
      0cae0900
    • Paul Spooren's avatar
      LRANK: Add command (the command will be renamed LPOS). · 31c9cd86
      Paul Spooren authored
      The `LRANK` command returns the index (position) of a given element
      within a list. Using the `direction` argument it is possible to specify
      going from head to tail (acending, 1) or from tail to head (decending,
      -1). Only the first found index is returend. The complexity is O(N).
      
      When using lists as a queue it can be of interest at what position a
      given element is, for instance to monitor a job processing through a
      work queue. This came up within the Python `rq` project which is based
      on Redis[0].
      
      [0]: https://github.com/rq/rq/issues/1197
      
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      31c9cd86
  4. 30 Apr, 2020 2 commits
  5. 17 Oct, 2018 1 commit
  6. 27 Jun, 2018 1 commit
  7. 07 Jun, 2018 1 commit
  8. 14 Jun, 2016 1 commit
  9. 13 Apr, 2016 1 commit
  10. 17 Nov, 2015 1 commit
  11. 14 Dec, 2014 1 commit
    • Alon Diamant's avatar
      Added <count> parameter to SPOP: · 28802887
      Alon Diamant authored
      spopCommand() now runs spopWithCountCommand() in case the <count> param is found.
      Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size.
      Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers().
      Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof
      --
      Cleaned up code a bit to match with required Redis coding style
      28802887
  12. 22 Apr, 2014 1 commit
  13. 14 May, 2013 1 commit
  14. 30 Oct, 2012 1 commit
  15. 27 Apr, 2012 1 commit
  16. 03 Apr, 2012 1 commit
  17. 19 Dec, 2010 1 commit
  18. 15 Dec, 2010 1 commit
  19. 28 Nov, 2010 2 commits
  20. 16 Nov, 2010 1 commit
    • Tj Holowaychuk's avatar
      Added redis-cli interactive help support · 5397f2b5
      Tj Holowaychuk authored
      updated via commands.json in redis-doc repo. Currently
      use `make src/help.h` to re-generate. The following
      are valid from the REPL:
      
        help
        help [command]
        help [group]
        help groups
      
      ex:
      
        help sort
        help hash
      5397f2b5