Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-2902

Date ordering query confusing without view code, deeper look at using date entries.

    XMLWordPrintable

Details

    Description

      First comment:

      Referring to native api guide on queries. http://developer.couchbase.com/documentation/mobile/current/develop/guides/couchbase-lite/native-api/query/index.html(http://developer.couchbase.com/documentation/mobile/current/develop/guides/couchbase-lite/native-api/query/index.html)

      The first example shows using setDescending and setLimit to pull the most recent of a series of documents. It's not very clear what's going on without knowing the view.
      As a general use case, it would be good to have more information on approaches to retrieving docs based on a timestamp or on insertion order. Pulling by insertion order is natural in RDBs.

      see other comments: https://github.com/couchbaselabs/couchbase-mobile-portal/issues/403

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jamiltz James Nocentini
            jamiltz James Nocentini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty