File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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!
227227await runtimeDb .close ()
Original file line number Diff line number Diff line change 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>" ,
You can’t perform that action at this time.
0 commit comments