From 0438ffb9922f9e15156b44d8e188fc20b3c5fc72 Mon Sep 17 00:00:00 2001 From: Edy Silva Date: Tue, 15 Jul 2025 11:17:00 -0300 Subject: [PATCH 1/2] sqlite,doc: add setReturnArrays missing docs --- doc/api/sqlite.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 18c48cebb69356..bb4322531e7886 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -692,6 +692,17 @@ 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)` + + + +* `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)` * `enabled` {boolean} Enables or disables the return of query results as arrays.