3 ms·
try mysql3! j/k. i wrote it so I'm biased but it hasn't seen much use outside my projects
by 8n4vidtmkvmk 4y ago
try mysql3!
j/k. i wrote it so I'm biased but it hasn't seen much use outside my projects
- noduerme 4y agoheh. I understand. No one uses mine either. I wrote it around the core to cache server-side prepared statements and old PDO style bindings (WHERE `field`=:var) I will check yours out if you post a link! or is it just node-mysql3?
- 8n4vidtmkvmk 4y agohttps://www.npmjs.com/package/mysql3 https://www.npmjs.com/package/mysql3 It's main selling point is that it uses template strings so you can just do sql`select f from t where x=${somevar}` And the lib will take care of escaping somevar. I was getting sick of ORMs which make it even harder to write complex queries. It's just a wrapper over mysql1 or 2. I forget which