UNPKG

@rashedmakkouk/dev-utils

Version:
10 lines (9 loc) 324 B
/** Typings */ import { FieldValues, SqlEscapeOptions } from '../types'; /** * Sanitizes and formats SQL input data for safe use in MySQL query statements. * * @returns Escaped string. */ declare function escape(value: FieldValues, options?: SqlEscapeOptions): string | number | null | undefined; export default escape;