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:
|
case SqlClient.MY_SQL:
|
||||||
start = end = "`"
|
start = end = "`"
|
||||||
break
|
break
|
||||||
|
case SqlClient.SQL_LITE:
|
||||||
case SqlClient.ORACLE:
|
case SqlClient.ORACLE:
|
||||||
case SqlClient.POSTGRES:
|
case SqlClient.POSTGRES:
|
||||||
start = end = '"'
|
start = end = '"'
|
||||||
|
@ -50,9 +51,6 @@ function likeKey(client: string, key: string): string {
|
||||||
start = "["
|
start = "["
|
||||||
end = "]"
|
end = "]"
|
||||||
break
|
break
|
||||||
case SqlClient.SQL_LITE:
|
|
||||||
start = end = ""
|
|
||||||
break
|
|
||||||
default:
|
default:
|
||||||
throw new Error("Unknown client generating like key")
|
throw new Error("Unknown client generating like key")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue