Comparing version 0.0.2-alpha.52 to 0.0.2-alpha.53
@@ -57,3 +57,3 @@ "use strict"; | ||
const driver = this.createDriver(options.driver); | ||
const connection = this.createConnection(options.connectionName || "default", driver); | ||
const connection = this.createConnection(options.name || "default", driver); | ||
if (options.entitySchemaDirectories && options.entitySchemaDirectories.length > 0) | ||
@@ -60,0 +60,0 @@ connection.importEntitySchemaFromDirectories(options.entitySchemaDirectories); |
@@ -15,3 +15,3 @@ import { DriverOptions } from "../driver/DriverOptions"; | ||
*/ | ||
connectionName?: string; | ||
name?: string; | ||
/** | ||
@@ -18,0 +18,0 @@ * Name of the naming strategy or target class of the naming strategy to be used for this connection. |
{ | ||
"name": "typeorm", | ||
"private": false, | ||
"version": "0.0.2-alpha.52", | ||
"version": "0.0.2-alpha.53", | ||
"description": "Data-mapper ORM for Typescript", | ||
@@ -6,0 +6,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
1520574