oniani1
78fbed1d5c
fix(studio): apply literal() escaping to remaining queue mutation files ( #44555 )
...
Follow-up to #44451 which added `literal()` escaping to 4 queue message
files. The remaining 5 files in the same directory still use raw string
interpolation.
The create mutation was the biggest gap -- no `literal()` and no
`isQueueNameValid` at all. It could also interpolate `undefined` into
SQL when partition config is missing.
Applied the same pattern from #44451 to all 5 files: import `literal`,
wrap interpolated values. For the metrics query and create mutation,
also used `ident()` for table name references.
## Summary by CodeRabbit
* **Refactor**
* Improved internal SQL query construction for database queue operations
to enhance code reliability and maintainability.
2026-04-06 09:52:43 -04:00
..
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-06 18:02:11 +09:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-06 13:12:43 +08:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-06 09:52:43 -04:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 13:04:49 +00:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2024-07-04 14:48:10 +08:00
2026-01-22 11:17:49 -05:00
2026-03-16 11:22:30 +01:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00