Boolean type
Boolean type
Section | Description |
|---|---|
BIT is a FairCom database field type containing a Boolean value of |
Boolean data types for JSON DB API
BIT is a FairCom database field type containing a Boolean value of 0 or 1. It is stored in a record as an 8-bit integer.
BIT's behavior in different APIs:
In FairCom's JSON DB API, a BIT value is represented as a JSON Boolean with a value of
falseortrue.A field value of
0maps tofalse. A field value of1maps totrue.In FairCom's SQL API, a BIT value is submitted and returned as a
0or1ASCII characters.In FairCom's ISAM and CTDB APIs, a BIT value is submitted and returned as an unsigned byte with a value of
0or1.