nevill / zongji

A mysql binlog listener running on Node.js.
Other
375 stars 118 forks source link

Fix unique hash key in table throwing error #149

Open jirka124 opened 1 year ago

jirka124 commented 1 year ago

fix for another cause of: https://github.com/nevill/zongji/pull/21

includes: : changes made to _fetchTableInfo method of ZongJi allowing fetch of both columns and hash indexes of table : added template for index query : added 2 functions fetching table info for readability

You may make any changes to it, sorry for formating. Have prettier running on save and didn't realize.