Class: NullType

eclairjs/sql/types. NullType

The data type representing NULL values. Please use the singleton DataTypes.NullType.

Constructor

new NullType()

Source:

Extends

Methods

defaultSize() → {integer}

The default size of a value of this data type, used internally for size estimation.
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