Skip to content

Commit e22aeaa

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

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