Skip to content

Commit 34c4900

Browse files
geeksilva97aduh95
authored andcommitted
doc: add missing section for setReturnArrays in sqlite.md
PR-URL: #59074 Refs: #57542 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 9b2e965 commit 34c4900

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/api/sqlite.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,17 @@ added:
682682
By default, if an unknown name is encountered while binding parameters, an
683683
exception is thrown. This method allows unknown named parameters to be ignored.
684684

685+
### `statement.setReturnArrays(enabled)`
686+
687+
<!-- YAML
688+
added: v24.0.0
689+
-->
690+
691+
* `enabled` {boolean} Enables or disables the return of query results as arrays.
692+
693+
When enabled, query results returned by the `all()`, `get()`, and `iterate()` methods will be returned as arrays instead
694+
of objects.
695+
685696
### `statement.setReadBigInts(enabled)`
686697

687698
<!-- YAML

0 commit comments

Comments
 (0)