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

typesql-cli

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typesql-cli - npm Package Compare versions

Comparing version 0.5.17 to 0.5.18

3

mysql-query-analyzer/select-columns.d.ts
import { RuleContext } from "antlr4ts";
import { ParseTree } from "antlr4ts/tree";
import { QuerySpecificationContext, SubqueryContext } from "ts-mysql-parser";
import { QuerySpecificationContext, TableReferenceContext, SubqueryContext } from "ts-mysql-parser";
import { ColumnSchema, ColumnDef, FieldName, TypeAndNullInfer } from "./types";

@@ -9,2 +9,3 @@ export declare function filterColumns(dbSchema: ColumnSchema[], withSchema: TypeAndNullInfer[], tableAlias: string | undefined, table: FieldName): ColumnDef[];

export declare function getColumnsFrom(ctx: QuerySpecificationContext, dbSchema: ColumnSchema[], withSchema: TypeAndNullInfer[]): ColumnDef[];
export declare function extractColumnsFromTableReferences(tablesReferences: TableReferenceContext[], dbSchema: ColumnSchema[], withSchema: TypeAndNullInfer[]): ColumnDef[];
export declare function analyzeSubQuery(subQuery: SubqueryContext, dbSchema: ColumnSchema[], withSchema: TypeAndNullInfer[], recursive?: boolean): import("./types").TypeAndNullInferResult;

@@ -11,0 +12,0 @@ export declare function splitName(fieldName: string): FieldName;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSimpleExpressions = exports.findColumn2 = exports.findColumn = exports.splitName = exports.analyzeSubQuery = exports.getColumnsFrom = exports.getColumnNames = exports.selectAllColumns = exports.filterColumns = void 0;
exports.getSimpleExpressions = exports.findColumn2 = exports.findColumn = exports.splitName = exports.analyzeSubQuery = exports.extractColumnsFromTableReferences = exports.getColumnsFrom = exports.getColumnNames = exports.selectAllColumns = exports.filterColumns = void 0;
const antlr4ts_1 = require("antlr4ts");

@@ -141,2 +141,3 @@ const Interval_1 = require("antlr4ts/misc/Interval");

}
exports.extractColumnsFromTableReferences = extractColumnsFromTableReferences;
function extractFieldsFromUsingClause(joinedTableContext) {

@@ -143,0 +144,0 @@ var _a;

{
"name": "typesql-cli",
"version": "0.5.17",
"version": "0.5.18",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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