mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
for #30854 # Details This PR updates our SQL query parser to allow string concatenation inside of LIKE expressions, e.g. ```sql SELECT * FROM file WHERE path LIKE 'C:' || CHAR(92) || 'Users' || CHAR(92) || 'example.txt'; ``` See https://github.com/sgress454/node-sql-parser/pull/1/files for the code changes in the parser, which are packaged into the changes in this PR using the instructions [here](https://github.com/fleetdm/fleet/blob/sgress454/30854-allow-concat-in-like/frontend/utilities/node-sql-parser/README.md#L12). PR to upstream package: https://github.com/taozhi8833998/node-sql-parser/pull/2552 # Checklist for submitter If some of the following don't apply, delete the relevant line. - [X] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. ## Testing - [X] Added/updated automated tests (in upstream repo) - [X] QA'd all new/changed functionality manually |
||
|---|---|---|
| .. | ||
| append_target_type_to_targets | ||
| campaign_helpers | ||
| convert_to_csv | ||
| date_format | ||
| debounce | ||
| deep_difference | ||
| file | ||
| format_api_errors | ||
| format_error_response | ||
| generate_csv | ||
| node-sql-parser | ||
| permissions | ||
| simple_search | ||
| sort | ||
| strings | ||
| url | ||
| yaml | ||
| constants.tsx | ||
| copy_text.ts | ||
| endpoints.ts | ||
| error_messages.ts | ||
| helpers.tests.tsx | ||
| helpers.tsx | ||
| local.ts | ||
| osquery_tables.ts | ||
| platform_icon_class.ts | ||
| software_install_scripts.ts | ||
| software_uninstall_scripts.ts | ||
| sql_tools.tests.ts | ||
| sql_tools.ts | ||