Skip to content

Commit

Permalink
Fix fields for MsgCount
Browse files Browse the repository at this point in the history
  • Loading branch information
Elena Grahovac committed Jul 25, 2022
1 parent 5cb4d31 commit 68f6822
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions internal/handlers/tigris/msg_count.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,15 @@ func (h *Handler) MsgCount(ctx context.Context, msg *wire.OpMsg) (*wire.OpMsg, e

unimplementedFields := []string{
"skip",
"returnKey",
"showRecordId",
"tailable",
"oplogReplay",
"noCursorTimeout",
"awaitData",
"allowPartialResults",
"collation",
"allowDiskUse",
"let",
}
if err := common.Unimplemented(document, unimplementedFields...); err != nil {
return nil, err
}
ignoredFields := []string{
"hint",
"batchSize",
"singleBatch",
"maxTimeMS",
"readConcern",
"max",
"min",
"comment",
}
common.Ignored(document, h.L, ignoredFields...)

Expand Down

0 comments on commit 68f6822

Please sign in to comment.