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