Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Product Feature Requests

Sorting results by value instead of key

No replies
  • Login or register to post comments
Mon, 02/25/2013 - 17:51
Michael Rickey
Offline
Joined: 02/15/2013
Groups: None

I am trying to create a leader-board of sorts. I can easily create a view that emits a single field, like username, and use the built-in reduce function "_count". What I can't do it limit my results to the highest values.

What I'd like is something similar to SQL's "ORDER BY COUNT(*) DESC".

There's my two cents...

__________________

--
Michael Rickey

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker