Comparing version 0.0.3 to 0.0.4
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const Knex = require("knex"); | ||
const client = Knex({ | ||
client: 'mysql', | ||
connection: { | ||
host: '127.0.0.1', | ||
user: 'root', | ||
password: '', | ||
database: 'lion_development', | ||
timezone: 'utc' | ||
}, | ||
pool: { | ||
min: 10, | ||
max: 10 | ||
} | ||
}); | ||
client.from('users').limit(1).then(data => { | ||
console.log(Array.isArray(data)); | ||
console.log(data); | ||
}); | ||
__export(require("./DataMap")); | ||
__export(require("./ResultMap")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "loon-data", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Provide Mybatis ResultMap like function for NodeJS with Typescript", | ||
@@ -11,2 +11,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"prepublish": "npm run tsc:release", | ||
"test": "npm test", | ||
@@ -13,0 +14,0 @@ "tsc:release": "tsc --project tsconfig.compile.json", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62420
949