diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index e277457c00dea7..850358ff43aa86 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -820,8 +820,12 @@ added: * `changeset` {Uint8Array} A binary changeset or patchset. * `options` {Object} The configuration options for how the changes will be applied. - * `filter` {Function} Skip changes that, when targeted table name is supplied to this function, return a truthy value. - By default, all changes are attempted. + * `filter` {Function} for each table affected by at least + one change in the changeset, the `filter` callback is invoked with the + table name as the first argument. If the return value is falsy, then no + attempt is made to apply any changes to the table. + Otherwise, if the return value is truthy or no `filter` callback is provided, + all changes related to the table are attempted. * `onConflict` {Function} A function that determines how to handle conflicts. The function receives one argument, which can be one of the following values: