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

Improve handling of Booleans from SQLite

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Duplicate
    • Major
    • postHelium
    • 2.8.0
    • Java-Android
    • Security Level: Public
    • None
    • 3

    Description

      Jens Alfke points out that there are cases in which Booleans are represented as Integers:

      "There are other circumstances where LiteCore cannot tell that a value is a boolean and will treat it as an int: basically any time the value comes from a SQLite operator/function. So a == b has integer type, as does s LIKE 'foo'."

      We should provide some kind of wrapper that returns Booleans, where Boolean types are expected.

      Attachments

        Issue Links

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

          Activity

            People

              The Lite The Lite
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty