UNPKG

mysql-all-in-one

Version:

A package that allows you to have a complete interaction with a MYSQL database, allowing to connect to the database, retrieve data and create queries.

12 lines (11 loc) 404 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.escVal = void 0; const mysql2_1 = __importDefault(require("mysql2")); /** * Escapes a value into a valid mysql String representation */ exports.escVal = mysql2_1.default.escape;