diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 57a0007baab..a384242ca82 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -686,6 +686,9 @@ added: v22.5.0 Compiles a SQL statement into a [prepared statement][]. This method is a wrapper around [`sqlite3_prepare_v2()`][]. +Throws an `ERR_INVALID_ARG_VALUE` error if `sql` contains no statements, such as +an empty string or a lone comment. + ### `database.createTagStore([maxSize])`