-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- removing Style logic
- Loading branch information
Showing
18 changed files
with
73 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 7 additions & 6 deletions
13
e2e/local/regression/cases/020_generate_post_except/post_except.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
/* {"URI": "basic/events-except", "Method": "POST", | ||
"ResponseBody": { | ||
"From": "Events" | ||
} | ||
} */ | ||
/* {"URI": "basic/events-except", "Method": "POST" } */ | ||
|
||
SELECT events.* EXCEPT NAME /* { "Cardinality": "One" } */ | ||
#set($_ = $Events<?>(body/).Cardinality('One').Tag('anonymous:"true"')) | ||
#set($_ = $Events<?>(body/).Output().Tag('anonymous:"true"')) | ||
|
||
|
||
|
||
SELECT events.* EXCEPT NAME | ||
FROM (SELECT * FROM EVENTS) events |
12 changes: 6 additions & 6 deletions
12
e2e/local/regression/cases/021_generate_post_explicit_columns/post_explicit.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/* {"URI": "basic/events-explicit", "Method": "POST", | ||
"ResponseBody": { | ||
"From": "Events" | ||
} | ||
} */ | ||
/* {"URI": "basic/events-explicit", "Method": "POST" } */ | ||
|
||
SELECT events.* /* { "Cardinality": "One" } */ | ||
#set($_ = $Events<?>(body/).Cardinality('One').Tag('anonymous:"true"')) | ||
#set($_ = $Events<?>(body/).Output().Tag('anonymous:"true"')) | ||
|
||
|
||
SELECT events.* | ||
FROM (SELECT ID, QUANTITY FROM EVENTS) events |
19 changes: 10 additions & 9 deletions
19
e2e/local/regression/cases/022_generate_post_one_one/post_one_one.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/* {"URI": "basic/events-one-one", "Method": "POST", | ||
"ResponseBody": { | ||
"From": "Events" | ||
} | ||
} */ | ||
|
||
SELECT EVENTS.* /* { "Cardinality": "One" } */, | ||
EVENTS_PERFORMANCE.* /* { "Cardinality": "One" } */ | ||
/* {"URI": "basic/events-one-one", "Method": "POST" } */ | ||
|
||
|
||
#set($_ = $Events<?>(body/).Cardinality('One').Tag('anonymous:"true"')) | ||
#set($_ = $Events<?>(body/).Output().Tag('anonymous:"true"')) | ||
|
||
|
||
SELECT EVENTS.*, | ||
EVENTS_PERFORMANCE.* | ||
FROM (SELECT ID, QUANTITY FROM EVENTS) EVENTS | ||
JOIN (SELECT * FROM EVENTS_PERFORMANCE) EVENTS_PERFORMANCE ON EVENTS.ID = EVENTS_PERFORMANCE.EVENT_ID | ||
JOIN (SELECT * FROM EVENTS_PERFORMANCE) EVENTS_PERFORMANCE ON EVENTS.ID = EVENTS_PERFORMANCE.EVENT_ID AND 1=1 |
12 changes: 6 additions & 6 deletions
12
e2e/local/regression/cases/023_generate_post_one_many/post_one_many.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
/* {"URI": "basic/events-one-many", "Method": "POST", | ||
"ResponseBody": { | ||
"From": "Events" | ||
} | ||
} */ | ||
/* {"URI": "basic/events-one-many", "Method": "POST" } */ | ||
|
||
SELECT EVENTS.* /* { "Cardinality": "One" } */, | ||
#set($_ = $Events<?>(body/).Cardinality('One').Tag('anonymous:"true"')) | ||
#set($_ = $Events<?>(body/).Output().Tag('anonymous:"true"')) | ||
|
||
|
||
SELECT EVENTS.*, | ||
EVENTS_PERFORMANCE.* | ||
FROM (SELECT ID, QUANTITY FROM EVENTS) EVENTS | ||
JOIN (SELECT * FROM EVENTS_PERFORMANCE) EVENTS_PERFORMANCE ON EVENTS.ID = EVENTS_PERFORMANCE.EVENT_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletions
11
e2e/local/regression/cases/027_generate_put_basic_one/put_basic_one.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
/* { | ||
"URI": "basic/foos", "Method": "PUT", "ResponseBody": { | ||
"From": "Foos" | ||
} | ||
"URI": "basic/foos", "Method": "PUT" | ||
} */ | ||
|
||
SELECT foos.* /* { "Cardinality": "One" } */ | ||
|
||
#set($_ = $Foos<?>(body/).Cardinality('One').Tag('anonymous:"true"')) | ||
#set($_ = $Foos<?>(body/).Output().Tag('anonymous:"true"')) | ||
|
||
|
||
SELECT foos.* | ||
FROM (SELECT * FROM FOOS) foos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters