4 ms·
.run() is also bad. What connection is it being run on? The most recently opened connection? In a global variable somewhere? For anything larger than a shor
by shrughes 14y ago
.run() is also bad. What connection is it being run on? The most recently opened connection? In a global variable somewhere? For anything larger than a short script, you should use query.run(conn), or conn.run(query).
- InAnEmergency 14y agoYes, especially in web applications. Found that out the hard way.