datasquirel/dist/package-shared/functions/backend/db/sanitizeSql.d.ts
Benjamin Toby a3561da53d Updates
2025-01-10 20:35:05 +01:00

9 lines
342 B
TypeScript

/**
* Sanitize SQL function
* ==============================================================================
* @description this function takes in a text(or number) and returns a sanitized
* text, usually without spaces
*/
declare function sanitizeSql(text: any, spaces: boolean, regex?: RegExp | null): any;
export default sanitizeSql;