Skip to content

Add 'match' parameter to 'sync' method #76

@multum

Description

@multum

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.*/ })

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions