@fxjs/orm
Advanced tools
Comparing version 1.15.2 to 1.15.3-alpha.0
@@ -47,7 +47,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
if (!driver.query.knex) | ||
throw `driver.query.knex must be init firstly!`; | ||
throw new Error(`[getKnexInstance] driver.query.knex must be init firstly!`); | ||
Object.defineProperty(driver, 'knex', { | ||
value: driver.knex, | ||
get() { | ||
return driver.getQuery().knex; | ||
}, | ||
configurable: false, | ||
writable: false | ||
}); | ||
@@ -54,0 +55,0 @@ } |
{ | ||
"name": "@fxjs/orm", | ||
"version": "1.15.2", | ||
"version": "1.15.3-alpha.0", | ||
"description": "", | ||
@@ -40,5 +40,5 @@ "main": "lib", | ||
"@fxjs/orm-core": "^0.3.1", | ||
"@fxjs/orm-property": "^0.3.2", | ||
"@fxjs/sql-ddl-sync": "^0.10.3", | ||
"@fxjs/sql-query": "^0.9.2", | ||
"@fxjs/orm-property": "^0.3.3-alpha.0", | ||
"@fxjs/sql-ddl-sync": "^0.10.4-alpha.0", | ||
"@fxjs/sql-query": "^0.9.3-alpha.0", | ||
"@types/knex": "^0.16.1", | ||
@@ -78,3 +78,3 @@ "fib-pool": "^1.6.0", | ||
}, | ||
"gitHead": "dd104422745372bcf392bc82349ed6b7920f3ae0" | ||
"gitHead": "34ef694b334be3f4af278b2ed3ce32f2008117ce" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
406552
8691
1