diff --git a/src/database/create.ts b/src/database/create.ts index bb444277..13a5c5b5 100644 --- a/src/database/create.ts +++ b/src/database/create.ts @@ -3,7 +3,8 @@ import type { DatabaseCreateContext, } from './type'; import { - createCockroachDBDatabase, createMongoDBDatabase, + createCockroachDBDatabase, + createMongoDBDatabase, createMsSQLDatabase, createMySQLDatabase, createOracleDatabase, diff --git a/src/database/driver/mongodb.ts b/src/database/driver/mongodb.ts index 947f8dba..603336c9 100644 --- a/src/database/driver/mongodb.ts +++ b/src/database/driver/mongodb.ts @@ -26,7 +26,7 @@ export async function createSimpleMongoDBConnection( const client = new MongoClient(url); await client.connect(); - return client(); + return client; } export async function createMongoDBDatabase( diff --git a/src/database/drop.ts b/src/database/drop.ts index 9c15a0b3..3952b708 100644 --- a/src/database/drop.ts +++ b/src/database/drop.ts @@ -3,7 +3,8 @@ import type { DatabaseDropContext, } from './type'; import { - dropCockroachDBDatabase, dropMongoDBDatabase, + dropCockroachDBDatabase, + dropMongoDBDatabase, dropMsSQLDatabase, dropMySQLDatabase, dropOracleDatabase,