Details
-
New Feature
-
Resolution: Duplicate
-
Major
-
2.8.0
-
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.