Commit 8695941
committed
refactor(cli): use JSON.stringify for SQL escaping in embed-metrics
- Replaced manual escaping with JSON.stringify for SQL strings
- Handles all edge cases (unicode, control characters, etc.)
- More robust than manual backslash/backtick/dollar escaping1 parent a43e629 commit 8695941
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 131 | + | |
| 132 | + | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
0 commit comments