Commit 8c0989a3 by Orlando Vazquez

update README

parent d8a2589e
......@@ -74,7 +74,7 @@ from the API have been made to improve performance.
db.prepare(sql, function (error, statement) {
if (error) throw error;
statement.bind(0, 'pink', function () {
statement.bind(1, 'pink', function () {
// call step once per row result
statement.step(function (row) {
......@@ -95,15 +95,14 @@ DESCRIPTION
This distribution includes two SQLite version 3 drivers: a low level driver
written in C++ and a high level driver. The latter wraps the former to add
nicer API and per-database query queuing to ensure queries do not clobber each
other.
nicer API.
It's HTML5 WebDatabase'ish but much, much simpler.
It's HTML5 WebDatabasish but much, much simpler.
At the moment, this library is the bare minimum necessary to get results out
of SQLite, but extending either driver should be quite straight forward.
This SQLite interface is incompatible with verison 2.
This SQLite interface is incompatible with version 2.
SQLite's synchronous nature is fundamentally incompatible with a non-blocking
system such as Node. To get around this synchronous calls happen within Node's
......@@ -112,7 +111,7 @@ SQLite's serialized threading mode is used to make sure we use SQLite safely.
See http://www.sqlite.org/threadsafe.html for more info.
The author is aware that SQLite ships with an asynchronous interface. This
interface however lacks the necessariy notification mechanism to alert the
interface however lacks the necessary notification mechanism to alert the
caller when the SQLite call has completed. In other words, to be able to
support callbacks, we use the synchronous driver within a seperate thread.
......@@ -138,6 +137,11 @@ based.
* http://github.com/grumdrig/node-sqlite/
* http://grumdrig.com/node-sqlite/
LICENSE
-------
node-sqlite is BSD licensed.
(c) 2010 Eric Fredricksen
(c) 2010 Orlando Vazquez
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment