File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -812,8 +812,12 @@ added:
812812
813813* ` changeset ` {Uint8Array} A binary changeset or patchset.
814814* ` options ` {Object} The configuration options for how the changes will be applied.
815- * ` filter ` {Function} Skip changes that, when targeted table name is supplied to this function, return a truthy value.
816- By default, all changes are attempted.
815+ * ` filter ` {Function} for each table affected by at least
816+ one change in the changeset, the ` filter ` callback is invoked with the
817+ table name as the first argument. If the return value is falsy, then no
818+ attempt is made to apply any changes to the table.
819+ Otherwise, if the return value is truthy or no ` filter ` callback is provided,
820+ all changes related to the table are attempted.
817821 * ` onConflict ` {Function} A function that determines how to handle conflicts. The function receives one argument,
818822 which can be one of the following values:
819823
You can’t perform that action at this time.
0 commit comments