Comparing version 0.0.8 to 0.0.9
@@ -11,3 +11,3 @@ // | ||
module.exports = class DataSource { | ||
module.exports = class DataSource { | ||
@@ -26,9 +26,9 @@ | ||
async createContext() { | ||
async createContext() { | ||
return new Context(await this._driver.getConnection(), this._config.logger) | ||
} | ||
async registerRepository(context , repository ) { | ||
async registerRepository(context , repository ) { | ||
await this._jpaBuilder.build(context, repository) | ||
} | ||
} |
{ | ||
"name": "js-jpa", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "jpa for node", | ||
@@ -5,0 +5,0 @@ "author": "stone", |
26197
733