1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Minor doc correction.

FossilOrigin-Name: 093f6e4b36db294e8e47df2fc75a4bc4fc101e2b6ff0201c912ccd1dcf394479
This commit is contained in:
stephan
2022-09-27 17:03:01 +00:00
parent 6559e0ab15
commit 489a8a9d3c
3 changed files with 9 additions and 9 deletions

View File

@ -104,7 +104,7 @@
log("Query data with exec() using rowMode 'array'...");
db.exec({
sql: "select a from t order by a limit 3",
rowMode: 'array', // 'array', 'object', or 'stmt' (default)
rowMode: 'array', // 'array' (default), 'object', or 'stmt'
callback: function(row){
log("row ",++this.counter,"=",row);
}.bind({counter: 0})
@ -122,7 +122,7 @@
log("Query data with exec() using rowMode 'stmt'...");
db.exec({
sql: "select a from t order by a limit 3",
rowMode: 'stmt', // stmt === the default
rowMode: 'stmt',
callback: function(row){
log("row ",++this.counter,"get(0) =",row.get(0));
}.bind({counter: 0})