mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Add db search helper * Use raw query for redshift * Fix SQL injection possibility Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * WIP fix for MS SQL * Improved big int support and value limit checking * prettier * updated for failing test * Added missing lower bound * Add missing lower bound at another place * Rewrite helpers for postgres * updated constants * extracted utils * updated types * prettier * renamed searchhelper to numberhelper and extracted parseNumericString util * moved constants up the tree * moved constants and types to packages * prettier * Add type guard for numeric field * Fix import - so much for auto imports... * Use isIn helper * Drop implementation specific test * Remove temporary vite file * Move parseNumericString to its own file * Rename orWhere * Fix wrong type * Fix test after merge * Change constants import location * updated postgres valid condition * Added same stringify logic for oracle * Add helper for sqlite and catch big int parsing error * Add curly brackets and redundant catch argument --------- Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Brainslug <tim@brainslug.nl>