Comparing version 0.0.4 to 0.0.5
@@ -71,2 +71,11 @@ "use strict"; | ||
/** | ||
* Closes this connection. | ||
*/ | ||
}, { | ||
key: "close", | ||
value: function close() { | ||
return this._driver.closeConnection(); | ||
} | ||
/** | ||
* Adds a new document schemas. | ||
@@ -73,0 +82,0 @@ */ |
{ | ||
"name": "typeodm", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "ODM for MongoDB used Typescript", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -1141,2 +1141,6 @@ declare module 'typeodm/connection/ConnectionOptions' { | ||
/** | ||
* Closes this connection. | ||
*/ | ||
close(): Promise<any>; | ||
/** | ||
* Adds a new document schemas. | ||
@@ -1342,3 +1346,3 @@ */ | ||
export class ConnectionManager { | ||
connections: Connection[]; | ||
private connections; | ||
private schemaBuilder; | ||
@@ -1345,0 +1349,0 @@ private metadataAggregator; |
268170
5213