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

sql-ts

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql-ts - npm Package Compare versions

Comparing version 6.1.0 to 6.2.0

36

dist/lib.d.ts

@@ -25,2 +25,6 @@ /// <reference types="node" />

case(whenList: any[], thenList: any[], elseBranch?: any): CaseNode;
prefixUnaryOperator(operator: string): PrefixUnaryNode;
postfixUnaryOperator(operator: string): PostfixUnaryNode;
binaryOperator(operator: string, right: any): BinaryNode;
ternaryOperator(operator: string, middle: any, separator: string, right: any): TernaryNode;
isNull: (this: INodeable) => PostfixUnaryNode;

@@ -79,2 +83,6 @@ isNotNull: (this: INodeable) => PostfixUnaryNode;

case(whenList: any[], thenList: any[], elseBranch?: any): CaseNode;
prefixUnaryOperator(operator: string): PrefixUnaryNode;
postfixUnaryOperator(operator: string): PostfixUnaryNode;
binaryOperator(operator: string, right: any): BinaryNode;
ternaryOperator(operator: string, middle: any, separator: string, right: any): TernaryNode;
isNull: (this: INodeable) => PostfixUnaryNode;

@@ -207,2 +215,12 @@ isNotNull: (this: INodeable) => PostfixUnaryNode;

declare class PrefixUnaryNode extends ValueExpressionNode {
left: Node;
operator: string;
constructor(config: {
left: Node;
operator: string;
});
as: (this: Node, alias: string) => AliasNode;
}
declare class SliceNode extends ValueExpressionNode {

@@ -340,12 +358,2 @@ value: Node;

declare class PrefixUnaryNode extends ValueExpressionNode {
left: Node;
operator: string;
constructor(config: {
left: Node;
operator: string;
});
as: (this: Node, alias: string) => AliasNode;
}
declare class Query<T> extends ValueExpressionBaseNode {

@@ -590,2 +598,6 @@ table: Table<T>;

case(whenList: any[], thenList: any[], elseBranch?: any): CaseNode;
prefixUnaryOperator(operator: string): PrefixUnaryNode;
postfixUnaryOperator(operator: string): PostfixUnaryNode;
binaryOperator(operator: string, right: any): BinaryNode;
ternaryOperator(operator: string, middle: any, separator: string, right: any): TernaryNode;
isNull: (this: INodeable) => PostfixUnaryNode;

@@ -750,2 +762,6 @@ isNotNull: (this: INodeable) => PostfixUnaryNode;

function(functionName: string): (...args: any[]) => FunctionCallNode;
prefixUnaryOperator: (operator: string) => (left: any) => PrefixUnaryNode;
postfixUnaryOperator: (operator: string) => (left: any) => PostfixUnaryNode;
binaryOperator: (operator: string) => (left: any, val: any) => BinaryNode;
ternaryOperator: (operator: string, separator: string) => (left: any, middle: any, right: any) => TernaryNode;
define<T>(def: TableDefinition): TableWithColumns<T>;

@@ -752,0 +768,0 @@ defineColumn<T>(def: ColumnDefinition): Column<T>;

@@ -8,3 +8,3 @@ {

"description": "SQL Builder",
"version": "6.1.0",
"version": "6.2.0",
"homepage": "https://github.com/charsleysa/node-sql-ts",

@@ -11,0 +11,0 @@ "license": "MIT",

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

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