Fixing issue with column quoting.
This commit is contained in:
parent
944be41670
commit
3b310b188e
1 changed files with 1 additions and 3 deletions
|
@ -42,6 +42,7 @@ function likeKey(client: string, key: string): string {
|
|||
case SqlClient.MY_SQL:
|
||||
start = end = "`"
|
||||
break
|
||||
case SqlClient.SQL_LITE:
|
||||
case SqlClient.ORACLE:
|
||||
case SqlClient.POSTGRES:
|
||||
start = end = '"'
|
||||
|
@ -50,9 +51,6 @@ function likeKey(client: string, key: string): string {
|
|||
start = "["
|
||||
end = "]"
|
||||
break
|
||||
case SqlClient.SQL_LITE:
|
||||
start = end = ""
|
||||
break
|
||||
default:
|
||||
throw new Error("Unknown client generating like key")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue