datasquirel/dist/package-shared/functions/backend/db/sanitizeSql.d.ts
Benjamin Toby 186cc76ffb Updates
2025-01-12 18:19:20 +01:00

9 lines
343 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;