Skip to content

Commit cfc906c

Browse files
committed
docs: update README
1 parent 0244331 commit cfc906c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ const runtimeDb = new Database()
219219
// to work on.
220220
.connect(force, saveOnDriver)
221221

222-
// This connection won't be available in static method Database.closeDriver.
222+
// This connection won't be available in static method Database.closeConnections.
223223
// If calling this method it will close the main PostgresDriver connection
224-
await Database.closeDriver('postgres')
224+
await Database.closeConnections('postgres')
225225

226226
// So always remember closing this connection!
227227
await runtimeDb.close()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@secjs/database",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Handle your application database with factories, seeders and query builder in Node.js",
55
"license": "MIT",
66
"author": "João Lenon <lenon@secjs.com.br>",

0 commit comments

Comments
 (0)