cloudsync_clear_filter(table_name)

cloudsync_clear_filter(table_name)

Description: Removes the row-level filter previously set with cloudsync_set_filter(). After clearing, all row changes in the table are tracked and replicated regardless of column values.

This function updates the stored settings and immediately recreates the sync triggers without a filter condition.

Parameters:

  • table_name (TEXT): The name of the synchronized table.

Returns: 1 on success.

Example:

SELECT cloudsync_clear_filter('tasks');