Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
8c0989a3
Commit
8c0989a3
authored
Mar 29, 2010
by
Orlando Vazquez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README
parent
d8a2589e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
README.md
README.md
+10
-6
No files found.
README.md
View file @
8c0989a3
...
...
@@ -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 WebDatabas
e'
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 ver
is
on 2.
This SQLite interface is incompatible with ver
si
on 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 necessar
i
y 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment