-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
The match parameter will be used to filter synchronization objects and take the regular expression as a value
const differ = new Differ({...})
differ.define('table', { name: 'contacts', columns: {...} }) // will be sync
differ.define('table', { name: 'contact_roles', columns: {...} }) // will be sync
differ.define('table', { name: 'chats', columns: {...} }) // will not sync
await differ.sync({ match: /^contact.*/ })