You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to use mysql-live-select but I get this warning when laucnhing:
(node:27144) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Plea
se use clearTimeout instead.
This is my code:
const LiveSelect = require('mysql-live-select');
const dbSettings = require('./config');
const liveDb = new LiveSelect(dbSettings);
liveDb.select(function(esc, escId){
return (
'select * from livetable'
);
}, [ {
table: 'livetable',
} ]).on('update', function(diff, data){
// diff contains an object describing the difference since the previous update
// data contains an array of rows of the new result set
console.log(data);
});
The text was updated successfully, but these errors were encountered:
Hello, I'm trying to use mysql-live-select but I get this warning when laucnhing:
This is my code:
The text was updated successfully, but these errors were encountered: