Comparing version 2.3.5 to 2.3.6
@@ -21,2 +21,3 @@ var rethinkdbdash = require('rethinkdbdash'); | ||
* - `timeFormat` {"raw"|"native"} | ||
* - `createDatabase` {boolean} Whether thinky should create the database or not. | ||
*/ | ||
@@ -75,2 +76,5 @@ function Thinky(config) { | ||
var r = self.r; | ||
if (self._config.createDatabase === false) { | ||
return Promise.resolve(); | ||
} | ||
this._dbReadyPromise = r.dbCreate(self._config.db) | ||
@@ -77,0 +81,0 @@ .run() |
{ | ||
"name": "thinky", | ||
"version": "2.3.5", | ||
"version": "2.3.6", | ||
"description": "RethinkDB ORM for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/thinky.js", |
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
222880
5987