We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58fafff commit 00c288eCopy full SHA for 00c288e
README.md
@@ -11,6 +11,7 @@ SQLite is public domain, sql.js is MIT licensed.
11
12
```javascript
13
var sql = require('./js/sql-api.js');
14
+// or sql = window.SQL if you are in a browser
15
16
// Create a database
17
var db = new sql.Database();
@@ -30,7 +31,7 @@ stmt.bind([1, 'world']);
30
31
// Fetch the results of the query
32
while (stmt.step()) console.log(stmt.get()); // Will print [1, 'world']
33
-// Resets the statement, so it can be used again with other values
34
+// Resets the statement, so it can be used again with other parameters
35
stmt.reset()
36
// Bind other values
37
stmt.bind([0, 'hello']);
0 commit comments