Skip to content

Commit 0244331

Browse files
committed
fix: adjust driver contract
1 parent ed151f7 commit 0244331

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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.2",
3+
"version": "1.0.3",
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>",

src/Contracts/DatabaseContract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface DatabaseContract {
5151
* @return Return the actual database chain
5252
*
5353
*/
54-
clone(): DatabaseContract
54+
clone(connection?: string): DatabaseContract
5555

5656
/**
5757
* CloneQuery method

0 commit comments

Comments
 (0)