ts-repository-fluent
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "ts-repository-fluent", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A basic data repository framework for Typescript. Includes a fluent-style query interface.", | ||
@@ -5,0 +5,0 @@ "main": "source/index.ts", |
@@ -38,2 +38,1 @@ 'use strict' | ||
} | ||
@@ -291,1 +291,39 @@ 'use strict' | ||
} | ||
/** SimpleQuery: SQL operation definition | ||
* @enum | ||
*/ | ||
export const enum Operator | ||
{ | ||
Equals = "=", | ||
GreaterThan = ">", | ||
GreaterThanOrEqual = ">=", | ||
LessThan = "<", | ||
LessThanOrEqual = "<=", | ||
IN = "IN", | ||
NOT_Equals = "!=", | ||
NOT_IN = "NOT IN", | ||
Like = "LIKE", | ||
NOT_Like = "NOT LIKE" | ||
} | ||
/** SimpleQuery: SQL join definition | ||
* @class | ||
*/ | ||
export class Join | ||
{ | ||
tableName: string; | ||
from: string; | ||
to: string; | ||
type?: JoinType; | ||
} | ||
/** SimpleQuery: SQL join type definition | ||
* @enum | ||
*/ | ||
export const enum JoinType | ||
{ | ||
INNER = "INNER JOIN", | ||
LEFT_OUTER = "LEFT OUTER JOIN", | ||
RIGHT_OUTER = "RIGHT OUTER JOIN" | ||
} |
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
40474
16
881