@fxjs/sql-query
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -35,5 +35,16 @@ declare namespace FxSqlQueryComparator { | ||
SimpleEqValueType | InputComparatorObjectValue | ||
interface SubQueryComparatorInput { | ||
[k: string]: FxSqlQueryComparator.QueryComparatorObject | ||
} | ||
// compatible | ||
interface SubQuerySimpleEqInput { | ||
[k: string]: SimpleEqValueType | ||
} | ||
interface SubQueryInput { | ||
[k: string]: FxSqlQueryComparator.QueryComparatorObject | SimpleEqValueType | ||
} | ||
interface Input { | ||
@@ -40,0 +51,0 @@ [key: string]: InputValueType |
@@ -8,3 +8,3 @@ declare namespace FxSqlQuerySubQuery { | ||
* there may be 3 kinds of normalized key-value: | ||
* - FxSqlQueryComparator.SubQuerySimpleEqInput[] | ||
* - FxSqlQueryComparator.SubQueryInput[] | ||
* - FxSqlQueryComparator.InputValueType | ||
@@ -14,3 +14,3 @@ * - FxSqlQueryComparator.QueryComparatorObject | ||
w: { | ||
[k: string]: FxSqlQueryComparator.SubQuerySimpleEqInput[] | FxSqlQueryComparator.InputValueType | FxSqlQueryComparator.QueryComparatorObject | UnderscoreSqlInput | ||
[k: string]: FxSqlQueryComparator.SubQueryInput[] | FxSqlQueryComparator.InputValueType | FxSqlQueryComparator.QueryComparatorObject | UnderscoreSqlInput | ||
} | ||
@@ -28,4 +28,4 @@ // exists query info | ||
type WhereExistsTuple_Flatten = [ | ||
// ['table1', {col1: 'v1'}, 'table2', {col2: 'v2'}] | ||
string, FxSqlQueryComparator.SubQuerySimpleEqInput, string, FxSqlQueryComparator.SubQuerySimpleEqInput | ||
// ['table1', {col1: 'v1'}, 'table2', {col2: Query.gte('v2')}] | ||
string, FxSqlQueryComparator.SubQueryInput, string, FxSqlQueryComparator.SubQueryInput | ||
] | ||
@@ -35,7 +35,7 @@ | ||
interface ConjunctionInput__Sample { | ||
or?: FxSqlQueryComparator.SubQuerySimpleEqInput[] | ||
and?: FxSqlQueryComparator.SubQuerySimpleEqInput[] | ||
not_or?: FxSqlQueryComparator.SubQuerySimpleEqInput[] | ||
not_and?: FxSqlQueryComparator.SubQuerySimpleEqInput[] | ||
not?: FxSqlQueryComparator.SubQuerySimpleEqInput[] | ||
or?: FxSqlQueryComparator.SubQueryInput[] | ||
and?: FxSqlQueryComparator.SubQueryInput[] | ||
not_or?: FxSqlQueryComparator.SubQueryInput[] | ||
not_and?: FxSqlQueryComparator.SubQueryInput[] | ||
not?: FxSqlQueryComparator.SubQueryInput[] | ||
} | ||
@@ -42,0 +42,0 @@ // only for sample |
v0.1.0 / 2019-01-08 | ||
v0.1.1 / 2019-01-08 | ||
================== | ||
* add typo `SubQueryInput`. | ||
v0.1.0 / 2019-01-08 | ||
=================== | ||
* Release v0.1.0 | ||
* build next version typo. | ||
@@ -6,0 +12,0 @@ * typo fix. |
{ | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"name": "@fxjs/sql-query", | ||
@@ -4,0 +4,0 @@ "types": "@types/index.d.ts", |
92654
1923