GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add missing section for `setReturnArrays` in `sqlite.md` · nodejs/node@e22aeaa

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • sqlite.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/sqlite.md‎

Copy file name to clipboardExpand all lines: doc/api/sqlite.md
+11Lines changed: 11 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,17 @@ added: v22.15.0
646646
By default, if an unknown name is encountered while binding parameters, an
647647
exception is thrown. This method allows unknown named parameters to be ignored.
648648

649+
### `statement.setReturnArrays(enabled)`
650+
651+
<!-- YAML
652+
added: v22.16.0
653+
-->
654+
655+
* `enabled` {boolean} Enables or disables the return of query results as arrays.
656+
657+
When enabled, query results returned by the `all()`, `get()`, and `iterate()` methods will be returned as arrays instead
658+
of objects.
659+
649660
### `statement.setReadBigInts(enabled)`
650661

651662
<!-- YAML

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.