orlandov/node-sqlite

Documentation is wrong

Closed this issue · 2 comments

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!