Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vizzly/sqlbuilder-public

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vizzly/sqlbuilder-public - npm Package Compare versions

Comparing version 0.1.22 to 0.1.23

dist/nativeDataTypeDatabase/postgres.d.ts

14

dist/nativeDataTypeDatabase.d.ts
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc