orlandov / node-sqlite

Asynchronous, non-blocking SQLite3 bindings for Node.js
262 stars 29 forks source link

Documentation is wrong #6

Closed pkrumins closed 14 years ago

pkrumins commented 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.

orlandov commented 14 years ago

Fixed in fa95f

pkrumins commented 14 years ago

Thanks!