grunig-nodes
Version:
Grünig Nodes Library
14 lines (13 loc) • 456 B
JavaScript
module.exports = function(RED) {
function DatabaseConfigNode(config) {
RED.nodes.createNode(this, config);
this.name = config.name;
this.host = config.host;
this.port = config.port;
this.user = config.user;
this.password = config.password;
this.database = config.database;
this.mssql = config.mssql;
}
RED.nodes.registerType("remote-database", DatabaseConfigNode);
}