diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 708763a2c3c..422df94ea54 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -1324,6 +1324,19 @@ aggregate function, or a [`'sqlite.db.query'`][] subscriber. Idle statements on the same connection can be finalized from such a callback. This method is a wrapper around [`sqlite3_finalize()`][]. +### `statement.columnCount` + + + +* Type: {number} The number of columns in the result set returned by the + prepared statement. + +This property is `0` for statements that do not return data, such as `INSERT`, +`UPDATE`, and `DELETE` statements without a `RETURNING` clause. This property +is a wrapper around [`sqlite3_column_count()`][]. + ### `statement.columns()`