mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
doc: add missing section for setReturnArrays
in sqlite.md
PR-URL: https://github.com/nodejs/node/pull/59074 Refs: https://github.com/nodejs/node/pull/57542 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
229cc3be28
commit
ee1ec50c10
1 changed files with 13 additions and 0 deletions
|
@ -692,6 +692,19 @@ added:
|
|||
By default, if an unknown name is encountered while binding parameters, an
|
||||
exception is thrown. This method allows unknown named parameters to be ignored.
|
||||
|
||||
### `statement.setReturnArrays(enabled)`
|
||||
|
||||
<!-- YAML
|
||||
added:
|
||||
- v24.0.0
|
||||
- v22.16.0
|
||||
-->
|
||||
|
||||
* `enabled` {boolean} Enables or disables the return of query results as arrays.
|
||||
|
||||
When enabled, query results returned by the `all()`, `get()`, and `iterate()` methods will be returned as arrays instead
|
||||
of objects.
|
||||
|
||||
### `statement.setReadBigInts(enabled)`
|
||||
|
||||
<!-- YAML
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue