Class: StringType

eclairjs/sql/types. StringType

The data type representing String values. Please use the singleton DataTypes.StringType.

Constructor

new StringType()

Source:

Extends

Methods

defaultSize() → {integer}

The default size of a value of the StringType is 4096 bytes.
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