Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Types

import { Types } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/orm-core/sql/types.ts";

Enum to define the SQL Types of every Column. The majority of this file is from the Java source code Part of this file has been written by Mandarine Collaborators

enum Types {
BIT,
TINYINT,
SMALLINT = 5,
INTEGER = 4,
BIGINT,
FLOAT = 6,
REAL = 7,
DOUBLE = 8,
NUMERIC = 2,
DECIMAL = 3,
CHAR = 1,
VARCHAR = 12,
LONGVARCHAR,
DATE = 91,
TIME = 92,
TIMESTAMP = 93,
BINARY,
VARBINARY,
LONGVARBINARY,
NULL = 0,
OTHER = 1111,
DISTINCT = 2001,
STRUCT = 2002,
ARRAY = 2003,
BLOB = 2004,
CLOB = 2005,
REF = 2006,
DATALINK = 70,
BOOLEAN = 16,
ROWID,
NCHAR,
NVARCHAR,
LONGNVARCHAR,
NCLOB = 2011,
SQLXML = 2009,
REF_CURSOR = 2012,
TIME_WITH_TIMEZONE = 2013,
TIMESTAMP_WITH_TIMEZONE = 2014,
JSON = 2015,
UUID = 2016,
JSONB = 2017,
INCREMENTS = 2018,
BIGSERIAL = 2019,
TEXT = 2020,
}

§Members

§
Types.ARRAY = 2003
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY.

§
Types.BIGINT
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIGINT.

§
Types.BIGSERIAL = 2019
[src]

BigSerial

§
Types.BINARY
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY.

§
Types.BIT
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIT.

§
Types.BLOB = 2004
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB.

§
Types.BOOLEAN = 16
[src]

The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type BOOLEAN.

§
Types.CHAR = 1
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR.

§
Types.CLOB = 2005
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CLOB.

§
Types.DATE = 91
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATE.

§
Types.DECIMAL = 3
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DECIMAL.

§
Types.DISTINCT = 2001
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT.

§
Types.DOUBLE = 8
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE.

§
Types.FLOAT = 6
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT.

§
Types.INCREMENTS = 2018
[src]

Refers to an incremental type of value

§
Types.INTEGER = 4
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER.

§
Types.JSON = 2015
[src]

Refers to a JSON object in the database

§
Types.JSONB = 2017
[src]

Refers to a JSON Binary Object in the database

§
Types.LONGNVARCHAR
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGNVARCHAR.

§
Types.LONGVARBINARY
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARBINARY.

§
Types.LONGVARCHAR
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARCHAR.

§
Types.NCHAR
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NCHAR

§
Types.NCLOB = 2011
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NCLOB.

§
Types.NULL = 0
[src]

The constant in the Java programming language that identifies the generic SQL value NULL.

§
Types.NUMERIC = 2
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NUMERIC.

§
Types.NVARCHAR
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NVARCHAR.

§
Types.OTHER = 1111
[src]

The constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methods getObject and setObject.

§
Types.REAL = 7
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL.

§
Types.REF = 2006
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF.

§
Types.REF_CURSOR = 2012
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type {@code REF CURSOR}.

§
Types.ROWID
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ROWID

§
Types.SMALLINT = 5
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type SMALLINT.

§
Types.SQLXML = 2009
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type XML.

§
Types.STRUCT = 2002
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT.

§
Types.TEXT = 2020
[src]

Refers to a big text type in the database

§
Types.TIME = 92
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME.

§
Types.TIME_WITH_TIMEZONE = 2013
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type {@code TIME WITH TIMEZONE}.

§
Types.TIMESTAMP = 93
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP.

§
Types.TIMESTAMP_WITH_TIMEZONE = 2014
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type {@code TIMESTAMP WITH TIMEZONE}.

§
Types.TINYINT
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TINYINT.

§
Types.UUID = 2016
[src]

Refers to an UUID value, generated by Mandarine

§
Types.VARBINARY
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARBINARY.

§
Types.VARCHAR = 12
[src]

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARCHAR.