Skip complex expression parenthesis wrap for function parameters.
This commit is contained in:
parent
a506a96d6a
commit
7377e078cd
12 changed files with 102 additions and 83 deletions
|
|
@ -87,7 +87,7 @@ var (
|
|||
RawDate = jet.RawDate
|
||||
)
|
||||
|
||||
// Func can be used to call an custom or as of yet unsupported function in the database.
|
||||
// Func can be used to call custom or unsupported database functions.
|
||||
var Func = jet.Func
|
||||
|
||||
// NewEnumValue creates new named enum value
|
||||
|
|
|
|||
|
|
@ -147,10 +147,10 @@ func TestSelect_NOT_EXISTS(t *testing.T) {
|
|||
))), `
|
||||
SELECT table1.col_int AS "table1.col_int"
|
||||
FROM db.table1
|
||||
WHERE (NOT (EXISTS (
|
||||
WHERE NOT (EXISTS (
|
||||
SELECT table2.col_int AS "table2.col_int"
|
||||
FROM db.table2
|
||||
WHERE table1.col_int = table2.col_int
|
||||
)));
|
||||
));
|
||||
`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue