Add ping()
This commit is contained in:
parent
044305e5ed
commit
1bad43a4aa
|
@ -1203,5 +1203,9 @@ MySQL.prototype.disconnect = function () {
|
|||
}
|
||||
};
|
||||
|
||||
MySQL.prototype.ping = function(cb) {
|
||||
this.query('SELECT 1 AS result', cb);
|
||||
};
|
||||
|
||||
require('./discovery')(MySQL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue