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:
Edy Silva 2025-07-17 12:57:08 -03:00 committed by GitHub
parent 229cc3be28
commit ee1ec50c10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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