Skip to content

Commit

Permalink
Merge pull request #62 from AnkanSaha/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
AnkanSaha authored Feb 26, 2024
2 parents f9b2b5c + 9d9b512 commit e1260f5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1,044 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@AnkanSaha/mongosuper",
"version": "4.4.4",
"version": "4.5.0",
"description": "mongosuper is a superset of mongoose. It is a wrapper around mongoose. It manage your mongoose connection and keep it alive always. It also provide you some extra features like CRUD operations, etc.",
"main": "./lib/Ts/Connection/Connection.js",
"types": "./lib/Ts/Connection/Connection.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions src/Ts/Connection/Connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ type, and `InstantConnect` function to connect to the database. */
Details === undefined || Details.Schema === undefined
? {}
: Details.Schema; // assign the Schema property
this.isTimeStamps =
Details === undefined || Details.isTimeStamps === undefined
? false
: Details.isTimeStamps; // assign the isTimeStamps property
this.CollectionName =
Details === undefined || Details.CollectionName === undefined
? "test"
Expand Down
Loading

0 comments on commit e1260f5

Please sign in to comment.