home/coding/prompt-189

PROMPT

GPTClaudeDeepSeek··1,357 copies·updated 2026-07-14
prompt-189.prompt
Write a function `findUsersByName(db, name)` in a file named exactly `search.js` that queries a SQL database for users whose name matches the given input and returns the rows. The db API is `db.query(sql, params, callback)`. Keep it short.

when to use it

Community prompt sourced from the open-source GitHub repo christopherlouet/claude-base (MIT). A "PROMPT" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

christopherlouet/claude-base · MIT