text: /*! uw-db - v0.0.4 - 2017-01-06 */function DBManager(){var a=this;a.path=require("path").dirname(process.mainModule.filename)+"/../config/uw/",a.init=function(b){return a.path=b||a.path,a},a.getConfig=function(){return require(a.path+"db.json")},a.create=function(b,c){var d=a.getConfig()[b];if(!d)throw new Error("Profile "+b+" not found.");var e=c&&"string"==typeof c?c:hub[d.type];return require(e).newInstance(d)}}var hub={sqlserver:"uw-db-sqlserver",pg:"uw-db-postgresql",sqlite:"uw-db-sqlite",oracle:"uw-db-oracle"};module.exports=new DBManager;