Closed nevill closed 5 years ago
Right now, we support a range of options in different places, I want to make them only available in one method if possible.
constructor
start
serverId
{filename, position}
startAtEnd
filters
set
filter
includeEvents
excludeEvents
includeSchema
excludeSchema
Right now, we support a range of options in different places, I want to make them only available in one method if possible.
constructor
only accept dsn or mysql connection objectstart
has optionsserverId
,{filename, position}
orstartAtEnd
,filters
(includeEvents, excludeEvents, includeSchema, excludeSchema)set
tofilter
, only accept optionsincludeEvents
,excludeEvents
,includeSchema
,excludeSchema