Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-2456

Update Database's createQuery() to return an error or throw CouchbaseLiteException (Beta 3)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 3.0
    • API
    • Security Level: Public
    • None
    • 1

    Description

      While looking at the API and Jay's in-progress PR related to LiveQuery, I started to think that we should have the method throw an exception or return an error right away if the N1QL string cannot be parsed. Currently we defer the returning error to the execute method BUT this means that if the user is using LiveQuery alone, there will be no error returned when N1QL string is wrong.

      Attachments

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

        Activity

          People

            The Lite The Lite
            pasin Pasin Suriyentrakorn
            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