Closed pkrumins closed 14 years ago
The documentation says that the row is passed as the 1st argument: db.query(sql, [colour], function (pony) { ... });
Where as in the node.js code it's passed as 2nd: rowCallback(undefined, row);
Very annoying.
Fixed in fa95f
Thanks!
The documentation says that the row is passed as the 1st argument: db.query(sql, [colour], function (pony) { ... });
Where as in the node.js code it's passed as 2nd: rowCallback(undefined, row);
Very annoying.