1
0
Fork 0
mirror of synced 2024-07-16 11:45:47 +12:00

Fixing issue with column quoting.

This commit is contained in:
mike12345567 2024-05-24 17:52:40 +01:00
parent 944be41670
commit 3b310b188e

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