lupdo
Version:
Database Abstraction Layer for Node js
159 lines (158 loc) • 3.42 kB
TypeScript
/**
* Force column names to a specific case. Can take one of the following values
* - CASE_NATURAL
* - CASE_UPPER
* - CASE_LOWER
*
* [Default CASE_NATURAL]
*/
export declare const ATTR_CASE = "ATTR_CASE";
/**
* Leave column names as returned by the database driver.
*/
export declare const CASE_NATURAL = 1;
/**
* Force column names to upper case.
*/
export declare const CASE_UPPER = 2;
/**
* Force column names to lower case.
*/
export declare const CASE_LOWER = 4;
/**
* Determines if DEBUG mode is enabled. Can take one of the following values:
* - DEBUG_DISABLED
* - DEBUG_ENABLED
*
* [Default DEBUG_DISABLED]
*/
export declare const ATTR_DEBUG = "ATTR_DEBUG";
/**
* Disable DEBUG mode
*/
export declare const DEBUG_DISABLED = 1;
/**
* Enable DEBUG mode
*/
export declare const DEBUG_ENABLED = 2;
/**
* Determines if and how null and empty strings should be converted. Can take one of the following values:
* - NULL_NATURAL
* - NULL_EMPTY_STRING
* - NULL_TO_STRING
*
* [Default NULL_NATURAL]
*/
export declare const ATTR_NULLS = "ATTR_NULLS";
/**
* No conversion takes place.
*/
export declare const NULL_NATURAL = 1;
/**
* Empty strings get converted to null.
*/
export declare const NULL_EMPTY_STRING = 2;
/**
* null gets converted to an empty string.
*/
export declare const NULL_TO_STRING = 4;
/**
* Returns the name of the driver.
*/
export declare const ATTR_DRIVER_NAME = "ATTR_DRIVER_NAME";
/**
* Determines which direction Fetch retrieve data. Can take one of the following values:
* - FETCH_FORWARD
* - FETCH_BACKWARD
*
* [Default FETCH_FORWARD]
*/
export declare const ATTR_FETCH_DIRECTION = "ATTR_FETCH_DIRECTION";
/**
* Fetch the next row in the result set.
*/
export declare const FETCH_FORWARD = 1;
/**
* Fetch the previous row in the result set.
*/
export declare const FETCH_BACKWARD = 2;
/**
* Param type Bigint
*/
export declare const PARAM_BIGINT = "BIGINT";
/**
* Param type Integer
*/
export declare const PARAM_INTEGER = "INTEGER";
/**
* Param type Decimal
*/
export declare const PARAM_DECIMAL = "DECIMAL";
/**
* Param type Double
*/
export declare const PARAM_DOUBLE = "DOUBLE";
/**
* Param type Numeric
*/
export declare const PARAM_NUMERIC = "NUMERIC";
/**
* Param type Float
*/
export declare const PARAM_FLOAT = "FLOAT";
/**
* Param type Boolean
*/
export declare const PARAM_BOOLEAN = "BOOLEAN";
/**
* Param type Text
*/
export declare const PARAM_TEXT = "TEXT";
/**
* Param type Char
*/
export declare const PARAM_CHAR = "CHAR";
/**
* Param type Char
*/
export declare const PARAM_VARCHAR = "VARCHAR";
/**
* Param type Geometry
*/
export declare const PARAM_GEOMETRY = "GEOMETRY";
/**
* Param type Date
*/
export declare const PARAM_DATE = "DATE";
/**
* Param type Datetime
*/
export declare const PARAM_DATETIME = "DATETIME";
/**
* Param type Datetime TimeZone
*/
export declare const PARAM_DATETIMETZ = "DATETIMETZ";
/**
* Param type Timestamp
*/
export declare const PARAM_TIMESTAMP = "TIMESTAMP";
/**
* Param type Timestamp TimeZone
*/
export declare const PARAM_TIMESTAMPTZ = "TIMESTAMPTZ";
/**
* Param type Time
*/
export declare const PARAM_TIME = "TIME";
/**
* Param type Time TimeZone
*/
export declare const PARAM_TIMETZ = "TIMETZ";
/**
* Param type Binary
*/
export declare const PARAM_BINARY = "BINARY";
/**
* Param type Binary
*/
export declare const PARAM_VARBINARY = "VARBINARY";