Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document logging #4436

Merged
merged 16 commits into from
Jul 10, 2024
15 changes: 8 additions & 7 deletions internal/handler/common/insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ type InsertParams struct {
Collection string `ferretdb:"insert,collection"`
Ordered bool `ferretdb:"ordered,opt"`

MaxTimeMS int64 `ferretdb:"maxTimeMS,ignored"`
WriteConcern any `ferretdb:"writeConcern,ignored"`
BypassDocumentValidation bool `ferretdb:"bypassDocumentValidation,ignored"`
Comment string `ferretdb:"comment,ignored"`
LSID any `ferretdb:"lsid,ignored"`
TxnNumber int64 `ferretdb:"txnNumber,ignored"`
ClusterTime any `ferretdb:"$clusterTime,ignored"`
MaxTimeMS int64 `ferretdb:"maxTimeMS,ignored"`
WriteConcern any `ferretdb:"writeConcern,ignored"`
BypassDocumentValidation bool `ferretdb:"bypassDocumentValidation,ignored"`
Comment string `ferretdb:"comment,ignored"`
LSID any `ferretdb:"lsid,ignored"`
TxnNumber int64 `ferretdb:"txnNumber,ignored"`
ClusterTime any `ferretdb:"$clusterTime,ignored"`
ReadPreference *types.Document `ferretdb:"$readPreference,ignored"`
}

// GetInsertParams returns the parameters for an insert command.
Expand Down
Loading