Fixing issue with column quoting.

This commit is contained in:
mike12345567 2024-05-24 17:52:40 +01:00
parent 944be41670
commit 3b310b188e
1 changed files with 1 additions and 3 deletions

View File

@ -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")
}