@vizzly/sqlbuilder-public
Advanced tools
Comparing version 0.1.22 to 0.1.23
import { NormalizedDataType } from "./types"; | ||
export declare const NATIVE_DATA_TYPES_DATABASE: { | ||
[client: string]: { | ||
[nativeDataType: string]: { | ||
castAs?: string | null; | ||
normalizedType: NormalizedDataType; | ||
}; | ||
type DB_TYPES = { | ||
[nativeDataType: string]: { | ||
castAs?: string | null; | ||
normalizedType: NormalizedDataType; | ||
}; | ||
}; | ||
export declare const NATIVE_DATA_TYPES_DATABASE: { | ||
[client: string]: DB_TYPES; | ||
}; | ||
export {}; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NATIVE_DATA_TYPES_DATABASE = void 0; | ||
const postgres_1 = __importDefault(require("./nativeDataTypeDatabase/postgres")); | ||
exports.NATIVE_DATA_TYPES_DATABASE = { | ||
@@ -204,95 +208,3 @@ microsoftSQLServer: { | ||
}, | ||
postgres: { | ||
JSONB: { | ||
normalizedType: "string", | ||
}, | ||
UUID: { | ||
normalizedType: "string", | ||
}, | ||
DECIMAL: { | ||
normalizedType: "number", | ||
}, | ||
NUMERIC: { | ||
normalizedType: "number", | ||
}, | ||
INT: { | ||
normalizedType: "number", | ||
}, | ||
INTEGER: { | ||
normalizedType: "number", | ||
}, | ||
BIGINT: { | ||
normalizedType: "number", | ||
}, | ||
SMALLINT: { | ||
normalizedType: "number", | ||
}, | ||
DOUBLEPRECISION: { | ||
normalizedType: "number", | ||
castAs: "DOUBLE PRECISION", | ||
}, | ||
"DOUBLE PRECISION": { | ||
normalizedType: "number", | ||
}, | ||
REAL: { | ||
normalizedType: "number", | ||
}, | ||
FLOAT: { | ||
normalizedType: "number", | ||
}, | ||
NUMBER: { | ||
normalizedType: "number", | ||
}, | ||
BINARY: { | ||
normalizedType: "string", | ||
}, | ||
VARBINARY: { | ||
normalizedType: "string", | ||
}, | ||
CHAR: { | ||
normalizedType: "string", | ||
}, | ||
CHARACTER: { | ||
normalizedType: "string", | ||
}, | ||
"CHARACTER VARYING": { | ||
normalizedType: "string", | ||
}, | ||
TEXT: { | ||
normalizedType: "string", | ||
}, | ||
VARCHAR: { | ||
normalizedType: "string", | ||
}, | ||
TIME: { | ||
normalizedType: "date_time", | ||
}, | ||
DATE: { | ||
normalizedType: "date_time", | ||
}, | ||
TIMESTAMP_LTZ: { | ||
normalizedType: "date_time", | ||
}, | ||
TIMESTAMP_NTZ: { | ||
normalizedType: "date_time", | ||
}, | ||
TIMESTAMP_TZ: { | ||
normalizedType: "date_time", | ||
}, | ||
TIMESTAMP: { | ||
normalizedType: "date_time", | ||
}, | ||
BOOLEAN: { | ||
normalizedType: "boolean", | ||
}, | ||
"TIMESTAMP WITH TIME ZONE": { | ||
normalizedType: "date_time", | ||
}, | ||
"TIMESTAMP WITHOUT TIME ZONE": { | ||
normalizedType: "date_time", | ||
}, | ||
ARRAY: { | ||
normalizedType: "string[]", | ||
}, | ||
}, | ||
postgres: postgres_1.default, | ||
SQLite: { | ||
@@ -299,0 +211,0 @@ BOOLEAN: { |
{ | ||
"name": "@vizzly/sqlbuilder-public", | ||
"version": "0.1.22", | ||
"version": "0.1.23", | ||
"source": "src/index.ts", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34444
5177
24
1170