We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc3485 commit 92288c5Copy full SHA for 92288c5
1 file changed
src/index.js
@@ -1403,6 +1403,21 @@ ChainsqlAPI.prototype.deleteSchema = function(schemaInfo){
1403
return this;
1404
};
1405
1406
+ChainsqlAPI.prototype.monitorStatis = function(){
1407
+ var connection = this.api ? this.api.connection : this.connect.api.connection;
1408
+ return new Promise(function(resolve, reject){
1409
+
1410
+ var params = {};
1411
+ params.command = 'monitor_statis';
1412
1413
+ connection.request(params).then(function(data){
1414
+ resolve(data);
1415
+ }).catch(function(err){
1416
+ reject(err);
1417
+ });
1418
1419
+};
1420
1421
function callback(data, callback) {
1422
1423
}
0 commit comments