Skip to content

Commit 3d20051

Browse files
committed
changing query format
1 parent a289399 commit 3d20051

File tree

2 files changed

+77
-56
lines changed

2 files changed

+77
-56
lines changed

src/config.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ export const config = {
2121
userNewUrlParser: true,
2222
},
2323
projections: {
24-
'_id': 0,
25-
'data._version': 0,
26-
'data.created_at': 0,
27-
'data.created_by': 0,
28-
'data.publish_details': 0,
29-
'data.updated_at': 0,
30-
'data.updated_by': 0,
24+
_id: 0,
25+
_version: 0,
26+
created_at: 0,
27+
updated_at: 0,
28+
updated_by: 0,
3129
},
3230
skip: 0,
3331
uri: 'mongodb://localhost:27017',

0 commit comments

Comments
 (0)