default: treat as escaped string
|
// TODO: Audit Unicode handling of string filters with special characters (Ω, ⚡, emoji, etc.) for all JDBC drivers (MSSQL, Postgres, MySQL, Oracle, DB2). |
|
// default: treat as escaped string |
|
escaped := strings.ReplaceAll(v, "'", "''") |
|
valueSQL = fmt.Sprintf("'%s'", escaped) |
|
// Driver-specific timestamp handling for ISO 8601 / RFC3339 strings. |
|
isISO8601 := strings.Contains(v, "T") && (strings.Contains(v, "Z") || strings.Contains(v, "+") || (strings.Contains(v, "-") && len(v) > 19)) |
This issue was generated by todo-issue based on a TODO comment in 8208b6b. It's been assigned to @vikaxsh because they committed the code.
default: treat as escaped string
olake/pkg/jdbc/jdbc.go
Lines 1186 to 1191 in 8208b6b
This issue was generated by todo-issue based on a
TODOcomment in 8208b6b. It's been assigned to @vikaxsh because they committed the code.