Download lib/tests/security/sql_injection/base/db.js from Rachit-Tw/PRININIT: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/spaces/Rachit-Tw/PRININIT/resolve/main/lib/tests/security/sql_injection/base/db.js
- Command line
-
hf download hf://spaces/Rachit-Tw/PRININIT/lib/tests/security/sql_injection/base/db.js
-
curl -L -o db.js https://huggingface.co/spaces/Rachit-Tw/PRININIT/resolve/main/lib/tests/security/sql_injection/base/db.js
294 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.getUserById = getUserById; | |
| const database_1 = require("./database"); | |
| function getUserById(id) { | |
| return (0, database_1.query)(`SELECT * FROM users WHERE id = ${id}`); | |
| } | |
| //# sourceMappingURL=db.js.map |