Class: BooleanType

eclairjs/sql/types. BooleanType

The data type representing Boolean values. Please use the singleton DataTypes.BooleanType.

Constructor

new BooleanType()

Source:

Extends

Methods

defaultSize() → {integer}

The default size of a value of the BooleanType is 1 byte.
Overrides:
Source:
Returns:
Type
integer

json() → {string}

The compact JSON representation of this data type.
Inherited From:
Source:
Returns:
Type
string

prettyJson() → {string}

The pretty (i.e. indented) JSON representation of this data type.
Inherited From:
Source:
Returns:
Type
string

simpleString() → {string}

Inherited From:
Source:
Returns:
Type
string

typeName() → {string}

Name of the type used in JSON serialization.
Inherited From:
Source:
Returns:
Type
string